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()
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()) {
......
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