mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
minor server fix
This commit is contained in:
parent
742a10cc1f
commit
8344920fdc
2 changed files with 5 additions and 1 deletions
|
|
@ -140,6 +140,10 @@ void Server_Game::doStartGameIfReady()
|
|||
Server_Player *player = playerIterator.next().value();
|
||||
player->setConceded(false);
|
||||
player->setReadyStart(false);
|
||||
}
|
||||
playerIterator.toFront();
|
||||
while (playerIterator.hasNext()) {
|
||||
Server_Player *player = playerIterator.next().value();
|
||||
sendGameEventToPlayer(player, new Event_GameStateChanged(gameStarted, 0, 0, getGameState(player)));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue