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:
parent
a09c595cf4
commit
9b54b25a6c
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user