Browse Source

remove output

main^2
fdai7920 11 months ago
parent
commit
111c695eee
  1. 3
      src/main/java/de/hsfulda/onses/services/GameService.java

3
src/main/java/de/hsfulda/onses/services/GameService.java

@ -101,10 +101,7 @@ public class GameService {
public void checkForWin() {
if (this.game.getPlayerService().getPlayerList().getFirst().getPlayerDeck().isEmpty() || this.game.getPlayerService().getPlayerList().getLast().getPlayerDeck().isEmpty()) {
System.out.println("gameOver");
System.out.println(game.getGameOver());
this.game.setGameOver(true);
System.out.println(game.getGameOver());
}
}

Loading…
Cancel
Save