1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Fix potential concurrenccy issues

This commit is contained in:
nordsoft
2023-08-28 01:10:04 +04:00
parent 2022d55d40
commit 6226ddf4a7
2 changed files with 10 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ class TurnTimerHandler
const int turnTimePropagateFrequencyCrit = 1000;
const int turnTimePropagateThreshold = 3000;
std::map<PlayerColor, TurnTimerInfo> timers;
std::recursive_mutex mx;
public:
TurnTimerHandler(CGameHandler &);