mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
Timer works as designed
This commit is contained in:
@@ -44,6 +44,7 @@ void TurnTimerHandler::setTimerEnabled(PlayerColor player, bool enabled)
|
||||
std::lock_guard<std::recursive_mutex> guard(mx);
|
||||
assert(player.isValidPlayer());
|
||||
timers[player].isActive = enabled;
|
||||
sendTimerUpdate(player);
|
||||
}
|
||||
|
||||
void TurnTimerHandler::sendTimerUpdate(PlayerColor player)
|
||||
|
||||
Reference in New Issue
Block a user