mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-11 10:36:09 -05:00
cleanup
This commit is contained in:
@@ -154,6 +154,11 @@ void Server_Game::stopGameIfFinished()
|
||||
return;
|
||||
|
||||
gameStarted = false;
|
||||
|
||||
playerIterator.toFront();
|
||||
while (playerIterator.hasNext())
|
||||
playerIterator.next().value()->clearZones();
|
||||
|
||||
playerIterator.toFront();
|
||||
while (playerIterator.hasNext()) {
|
||||
Server_Player *player = playerIterator.next().value();
|
||||
|
||||
Reference in New Issue
Block a user