1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Timer pausing while waiting for player accept turn

This commit is contained in:
nordsoft 2023-08-30 02:18:44 +04:00
parent b4c20734f3
commit f30f00faa0

View File

@ -28,12 +28,12 @@ bool PlayerStartsTurnQuery::blocksPack(const CPack *pack) const
void PlayerStartsTurnQuery::onAdding(PlayerColor color)
{
//gh->turnTimerHandler.setTimerEnabled(color, false);
gh->turnTimerHandler.setTimerEnabled(color, false);
}
void PlayerStartsTurnQuery::onRemoval(PlayerColor color)
{
//gh->turnTimerHandler.setTimerEnabled(color, true);
gh->turnTimerHandler.setTimerEnabled(color, true);
}
bool PlayerStartsTurnQuery::endsByPlayerAnswer() const