diff --git a/commands/mp-games/connect-four.js b/commands/mp-games/connect-four.js index 7f935c82..f8726204 100644 --- a/commands/mp-games/connect-four.js +++ b/commands/mp-games/connect-four.js @@ -63,7 +63,7 @@ module.exports = class ConnectFourCommand extends Command { if (choice.toLowerCase() === 'end') return true; const i = Number.parseInt(choice, 10) - 1; if (!board[colLevels[i]]) return false; - if (!board[colLevels[i]][i]) return false; + if (board[colLevels[i]][i] === undefined) return false; return res.author.id === user.id; }; const turn = await msg.channel.awaitMessages(filter, {