fix undo draw check

This commit is contained in:
2025-04-14 11:02:35 +02:00
parent 07016be5d8
commit 91678a42b2
4 changed files with 33 additions and 5 deletions

View File

@@ -85,6 +85,8 @@ public class PromoteCommand extends PlayerCommand {
assert promoted != null;
game.undoTraitPiecesPos();
board.pieceComes(this.oldPawn, this.pieceCoords);
game.getLastAction().undo(game, outputSystem);