From 62230d41e3eb672393e40a6b29ddeff30f33def9 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 22 Jan 2021 17:13:09 -0500 Subject: [PATCH] Fixes --- commands/games-mp/jenga.js | 1 + commands/games-mp/nim.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/commands/games-mp/jenga.js b/commands/games-mp/jenga.js index 54a9cc64..250075e5 100644 --- a/commands/games-mp/jenga.js +++ b/commands/games-mp/jenga.js @@ -77,6 +77,7 @@ module.exports = class JengaCommand extends Command { } else { await msg.say('Sorry, time is up!'); lastTurnTimeout = true; + userTurn = !userTurn; continue; } } diff --git a/commands/games-mp/nim.js b/commands/games-mp/nim.js index 19c725b7..6f955f42 100644 --- a/commands/games-mp/nim.js +++ b/commands/games-mp/nim.js @@ -77,6 +77,7 @@ module.exports = class NimCommand extends Command { } else { await msg.say('Sorry, time is up!'); lastTurnTimeout = true; + userTurn = !userTurn; continue; } } @@ -88,7 +89,7 @@ module.exports = class NimCommand extends Command { } const row = board[picked - 1]; await msg.say(stripIndents` - How many ${objectEmoji} do you want to remove from row ${picked}? Type \`end\` to forefeit. + ${user}, how many ${objectEmoji} do you want to remove from row ${picked}? Type \`end\` to forefeit. If you want to go back, type \`back\`. ${nums[picked - 1]}${objectEmoji.repeat(row)} @@ -112,6 +113,7 @@ module.exports = class NimCommand extends Command { } else { await msg.say('Sorry, time is up!'); lastTurnTimeout = true; + userTurn = !userTurn; continue; } }