mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
cleanup
This commit is contained in:
parent
15aa6a600a
commit
929f4f9b4d
10 changed files with 14 additions and 30 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue