Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fohristiwhirl committed Mar 18, 2021
1 parent 6aa43d2 commit 8dde1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/51_node.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const node_prototype = {
},

move_old_format: function() {
let move = move;
let move = this.move;
if (move === "e1h1" && this.parent.board.state[4][7] === "K") return "e1g1";
if (move === "e1a1" && this.parent.board.state[4][7] === "K") return "e1c1";
if (move === "e8h8" && this.parent.board.state[4][0] === "k") return "e8g8";
Expand Down

0 comments on commit 8dde1dd

Please sign in to comment.