promote gui
This commit is contained in:
@@ -49,7 +49,7 @@ public class PromoteCommand extends Command {
|
||||
board.pieceLeaves(this.pieceCoords);
|
||||
board.pieceComes(createPiece(this.promoteType, pawn.getColor()), this.pieceCoords);
|
||||
|
||||
return CommandResult.NotMoved;
|
||||
return CommandResult.Moved;
|
||||
}
|
||||
|
||||
private Piece createPiece(PromoteType promoteType, Color color) {
|
||||
|
||||
Reference in New Issue
Block a user