From 74a34e61add2738d486c7e09305b29ea7e201c81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Sat, 14 May 2016 22:46:04 +0200 Subject: [PATCH] fixed a bug where a Player would win the game twice --- cicaprojekt/Game.java | 1 + 1 file changed, 1 insertion(+) diff --git a/cicaprojekt/Game.java b/cicaprojekt/Game.java index 443c583..ce52326 100644 --- a/cicaprojekt/Game.java +++ b/cicaprojekt/Game.java @@ -182,6 +182,7 @@ public class Game { stopGame(GameoverCause.JAFFAWON); else stopGame(GameoverCause.DRAW); + return; } if (oneill.getZPMCount() >= dungeon.getZPMsToWin())