fix castling
This commit is contained in:
@@ -49,6 +49,8 @@ public class CastlingCommand extends PlayerCommand {
|
||||
board.applyMove(this.kingMove);
|
||||
board.applyMove(this.rookMove);
|
||||
|
||||
board.setLastMove(this.kingMove);
|
||||
|
||||
outputSystem.onCastling(this.bigCastling);
|
||||
|
||||
return CommandResult.Moved;
|
||||
|
||||
Reference in New Issue
Block a user