From b0e58aab58d70945a57909b8890dd41296a37797 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 22 Jan 2021 17:01:33 -0500 Subject: [PATCH] Fix --- commands/games-mp/nim.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-mp/nim.js b/commands/games-mp/nim.js index 8793ce2f..5fd4965d 100644 --- a/commands/games-mp/nim.js +++ b/commands/games-mp/nim.js @@ -98,7 +98,7 @@ module.exports = class NimCommand extends Command { const chosen = res.content; if (chosen.toLowerCase() === 'end' || chosen.toLowerCase() === 'back') return true; const i = Number.parseInt(chosen, 10) - 1; - return row >= i && row > 0; + return i <= row && i > 0; }; const rowTurn = await msg.channel.awaitMessages(rowFilter, { max: 1,