fixed a bug where a Player would win the game twice
This commit is contained in:
parent
68253e7a5b
commit
74a34e61ad
@ -182,6 +182,7 @@ public class Game {
|
|||||||
stopGame(GameoverCause.JAFFAWON);
|
stopGame(GameoverCause.JAFFAWON);
|
||||||
else
|
else
|
||||||
stopGame(GameoverCause.DRAW);
|
stopGame(GameoverCause.DRAW);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (oneill.getZPMCount() >= dungeon.getZPMsToWin())
|
if (oneill.getZPMCount() >= dungeon.getZPMsToWin())
|
||||||
|
Loading…
Reference in New Issue
Block a user