From a495cca0d5350b19e9530b6e20e53a9f6ded4d18 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 11 May 2020 16:31:02 -0400 Subject: [PATCH] Fix --- commands/games-mp/poker.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/games-mp/poker.js b/commands/games-mp/poker.js index 225bcdc8..91c6778e 100644 --- a/commands/games-mp/poker.js +++ b/commands/games-mp/poker.js @@ -96,7 +96,7 @@ module.exports = class PokerCommand extends Command { turnData.pot = bigBlindAmount + smallBlindAmount; turnData.currentBet = bigBlindAmount; turnData.highestBetter = bigBlind; - const keepGoing = await this.gameRound(msg, players, folded, turnData, bigBlind, smallBlind); + let keepGoing = await this.gameRound(msg, players, folded, turnData, bigBlind, smallBlind); if (!keepGoing) continue; const dealerHand = deck.draw(3); await msg.say(stripIndents` @@ -106,7 +106,7 @@ module.exports = class PokerCommand extends Command { _Next betting round begins in 5 seconds._ `); await delay(5000); - const keepGoing = await this.gameRound(msg, players, folded, turnData, bigBlind, smallBlind); + keepGoing = await this.gameRound(msg, players, folded, turnData, bigBlind, smallBlind); if (!keepGoing) continue; dealerHand.push(deck.draw()); await msg.say(stripIndents` @@ -116,7 +116,7 @@ module.exports = class PokerCommand extends Command { _Next betting round begins in 5 seconds._ `); await delay(5000); - const keepGoing = await this.gameRound(msg, players, folded, turnData, bigBlind, smallBlind); + keepGoing = await this.gameRound(msg, players, folded, turnData, bigBlind, smallBlind); if (!keepGoing) continue; dealerHand.push(deck.draw()); await msg.say(stripIndents` @@ -126,7 +126,7 @@ module.exports = class PokerCommand extends Command { _Next betting round begins in 5 seconds._ `); await delay(5000); - const keepGoing = await this.gameRound(msg, players, folded, turnData, bigBlind, smallBlind); + keepGoing = await this.gameRound(msg, players, folded, turnData, bigBlind, smallBlind); if (!keepGoing) continue; const solved = []; for (const playerID of turnRotation) {