From 5cd147ad806c0339d0f78d42e2b12197ae5658d8 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 23 Mar 2024 23:37:47 -0400 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 c42341fc..d5634dd7 100644 --- a/commands/games-mp/tic-tac-toe.js +++ b/commands/games-mp/tic-tac-toe.js @@ -86,7 +86,7 @@ module.exports = class TicTacToeCommand extends Command { sides[opponent.bot && !userTurn ? choice : Number.parseInt(choice, 10) - 1] = sign; taken.push(choice); const win = this.verifyWin(sides, msg.author, opponent); - if (taken.length === 8 && !win) winner = 'tie'; + if (taken.length === 9 && !win) winner = 'tie'; if (win) winner = win; if (lastTurnTimeout) lastTurnTimeout = false; userTurn = !userTurn;