fix result display

main
stuckd 2025-06-25 08:55:45 +02:00
parent b6a74b957e
commit bc909c3ba5
1 changed files with 10 additions and 10 deletions

View File

@ -41,19 +41,19 @@ public class ButtonMovePieceListener implements ActionListener {
this.sf.showResult("Spieler " + game.getActivePlayer() + " hat gewonnen!");
} else {
this.sf.setBoardMode(BoardMode.normal);
if (game.getLastMove() != null) {
sf.aktualisiereAusgabe();
}
}
this.sf.setCursor(null);
// hier rotieren markieren
if(game.isRotieren())sf.setWechsel(!sf.isWechsel());
if (game.isRotieren())
sf.setWechsel(!sf.isWechsel());
this.sf.erstelleBrett();
if (game.getLastMove() != null) {
sf.aktualisiereAusgabe();
}
}
}