mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 02:53:56 -07:00
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…
Add table
Add a link
Reference in a new issue