Fikser vinning av spillet. Closes #71

This commit is contained in:
Kristian Knarvik 2020-04-23 10:39:09 +02:00
parent acab7345f2
commit 9f6c6aca36

View File

@ -209,6 +209,11 @@ public class Phase {
if (game != null) {
game.setWinningPlayerName(player.getName());
game.setGameState(GameState.GAME_IS_WON);
try {
Thread.sleep(1000 * cycleDelay);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
}