From 9a8021596451d5a627968034a8ef6e5c7d273422 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 22 Jan 2021 17:00:00 -0500 Subject: [PATCH] Fix --- commands/games-mp/nim.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/games-mp/nim.js b/commands/games-mp/nim.js index c81c7cce..8793ce2f 100644 --- a/commands/games-mp/nim.js +++ b/commands/games-mp/nim.js @@ -115,8 +115,8 @@ module.exports = class NimCommand extends Command { continue; } } - const rowChoice = turn.first().content; - const rowPicked = Number.parseInt(choice, 10); + const rowChoice = rowTurn.first().content; + const rowPicked = Number.parseInt(rowChoice, 10); if (rowChoice.toLowerCase() === 'end') { winner = userTurn ? opponent : msg.author; break;