summaryrefslogtreecommitdiff
path: root/public/board.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/board.js')
-rw-r--r--public/board.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/board.js b/public/board.js
index e0f0cbe..2484136 100644
--- a/public/board.js
+++ b/public/board.js
@@ -15,7 +15,7 @@ for (let i = 0; i < squares.length; i++) {
square.push(id.charAt(0).charCodeAt(0) - 97)
- let moves = move(board, square[0], square[1])
+ let moves = move(board, square[0], square[1], to_move)
for (let i = 0; i < previously_highlighted_squares.length; i++) {