feat: add audio
This commit is contained in:
@@ -75,13 +75,13 @@ public class MoveCommand extends PlayerCommand {
|
||||
}
|
||||
|
||||
if (tryPromote(game, outputSystem)) {
|
||||
outputSystem.onMove(this.move);
|
||||
outputSystem.onMove(this.move, this.deadPiece != null);
|
||||
return CommandResult.ActionNeeded;
|
||||
}
|
||||
|
||||
board.setLastMove(this.move);
|
||||
|
||||
outputSystem.onMove(this.move);
|
||||
outputSystem.onMove(this.move, this.deadPiece != null);
|
||||
|
||||
return CommandResult.Moved;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user