From d2ed294e8efcec6c1f0482b1572afc6f10dd8c74 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 7 Feb 2021 10:26:38 -0500 Subject: [PATCH] I don't understand --- commands/games-mp/chess.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/games-mp/chess.js b/commands/games-mp/chess.js index 0ebd9aeb..0166eba0 100644 --- a/commands/games-mp/chess.js +++ b/commands/games-mp/chess.js @@ -174,6 +174,7 @@ module.exports = class ChessCommand extends Command { if (gameState.turn === 'black') blackTime -= timeTaken - 5000; if (gameState.turn === 'white') whiteTime -= timeTaken - 5000; const choice = this.parseSAN(gameState, moves, turn.first().content.toUpperCase().match(turnRegex)); + console.log(choice); game.move(choice[0], choice[1]); if (gameState.pieces[choice[0]].toUpperCase() === 'P') { fiftyRuleMove = 0;