From 332ba019e0000cc328400a8ccf862f8f58c09486 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 23 Jan 2021 16:21:14 -0500 Subject: [PATCH] Fix --- 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 435f824e..893af0c7 100644 --- a/commands/games-mp/chess.js +++ b/commands/games-mp/chess.js @@ -65,6 +65,7 @@ module.exports = class ChessCommand extends Command { const user = game.exportJson().turn === 'black' ? opponent : msg.author; const gameState = game.exportJson(); if (user.bot) { + prevGameState = gameState; game.aiMove(3); } else { await msg.say(stripIndents`