mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-24 07:09:19 -05: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:
parent
3c85ca9cbc
commit
840ee1379f
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user