fixed a bug where a Player would win the game twice

This commit is contained in:
Kjistóf 2016-05-14 22:46:04 +02:00
parent 68253e7a5b
commit 74a34e61ad

View File

@ -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())