From 9614e129187d90713ab0dc9931b42a1de306a4f0 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 9 Jan 2021 18:27:31 -0500 Subject: [PATCH] Fix --- commands/games-mp/tic-tac-toe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-mp/tic-tac-toe.js b/commands/games-mp/tic-tac-toe.js index 2b794af8..d7a38e8c 100644 --- a/commands/games-mp/tic-tac-toe.js +++ b/commands/games-mp/tic-tac-toe.js @@ -99,7 +99,7 @@ module.exports = class TicTacToeCommand extends Command { } verifyWin(sides) { - const evaluated = tictactoe.boardEvaluate(this.convertBoard(sides)); + const evaluated = tictactoe.boardEvaluate(this.convertBoard(sides)).status; if (evaluated === 'win' || evaluated === 'loss' || evaluated === 'tie') return true; return false; }