concession fix
This commit is contained in:
parent
3ea0729229
commit
6b18ba6bac
1 changed files with 5 additions and 2 deletions
|
@ -191,8 +191,11 @@ void Server_Game::stopGameIfFinished()
|
|||
gameStarted = false;
|
||||
|
||||
playerIterator.toFront();
|
||||
while (playerIterator.hasNext())
|
||||
playerIterator.next().value()->clearZones();
|
||||
while (playerIterator.hasNext()) {
|
||||
Server_Player *p = playerIterator.next().value();
|
||||
p->clearZones();
|
||||
p->setConceded(false);
|
||||
}
|
||||
|
||||
playerIterator.toFront();
|
||||
while (playerIterator.hasNext()) {
|
||||
|
|
Loading…
Reference in a new issue