mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
Fikser vinning av spillet. Closes #71
This commit is contained in:
parent
acab7345f2
commit
9f6c6aca36
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user