mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-12 15:49:28 -08:00
fix crash on force starting, kicking players (#6307)
* fix crash on force starting, kicking players * Update server_game.cpp --------- Co-authored-by: Zach H <zahalpern+github@gmail.com>
This commit is contained in:
@@ -340,6 +340,7 @@ void Server_Game::doStartGameIfReady(bool forceStartGame)
|
||||
}
|
||||
}
|
||||
|
||||
players = getPlayers(); // players could have been kicked, get new list of players
|
||||
for (Server_AbstractPlayer *player : players.values()) {
|
||||
player->setupZones();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user