Commit 6b18ba6b authored by Max-Wilhelm Bruker's avatar Max-Wilhelm Bruker
Browse files

concession fix

parent 3ea07292
...@@ -191,8 +191,11 @@ void Server_Game::stopGameIfFinished() ...@@ -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()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment