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;
|
gameStarted = false;
|
||||||
|
|
||||||
playerIterator.toFront();
|
playerIterator.toFront();
|
||||||
while (playerIterator.hasNext())
|
while (playerIterator.hasNext()) {
|
||||||
playerIterator.next().value()->clearZones();
|
Server_Player *p = playerIterator.next().value();
|
||||||
|
p->clearZones();
|
||||||
|
p->setConceded(false);
|
||||||
|
}
|
||||||
|
|
||||||
playerIterator.toFront();
|
playerIterator.toFront();
|
||||||
while (playerIterator.hasNext()) {
|
while (playerIterator.hasNext()) {
|
||||||
|
|
Loading…
Reference in a new issue