1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-03 14:52:11 +02:00

Show timer only for one player

This commit is contained in:
nordsoft 2023-10-06 17:56:46 +02:00
parent a09c595cf4
commit 9b54b25a6c

View File

@ -157,7 +157,10 @@ void TurnTimerWidget::tick(uint32_t msPassed)
for(PlayerColor p(0); p < PlayerColor::PLAYER_LIMIT; ++p)
{
if(LOCPLINT->cb->isPlayerMakingTurn(p))
{
updateTimer(p, msPassed);
break;
}
}
}
}