From fbd3022831f150499f74914e420e0668b5b04a12 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 11 May 2020 15:59:10 -0400 Subject: [PATCH] Fix --- commands/games-mp/poker.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/games-mp/poker.js b/commands/games-mp/poker.js index 9fe0843a..1371484f 100644 --- a/commands/games-mp/poker.js +++ b/commands/games-mp/poker.js @@ -96,7 +96,7 @@ module.exports = class PokerCommand extends Command { turnData.currentBet = bigBlindAmount; turnData.highestBetter = bigBlind; let turnOver = false; - let turnRotation = this.makeTurnRotation(players, bigBlind, smallBlind); + let turnRotation = this.makeTurnRotation(players, folded, bigBlind, smallBlind); while (!turnOver) turnOver = await this.bettingRound(msg, players, turnRotation, folded, turnData); if (turnRotation.length === 1) { const remainer = players.get(turnRotation[0]); @@ -114,7 +114,7 @@ module.exports = class PokerCommand extends Command { `); await delay(5000); turnOver = false; - turnRotation = this.makeTurnRotation(players, bigBlind, smallBlind); + turnRotation = this.makeTurnRotation(players, folded, bigBlind, smallBlind); while (!turnOver) turnOver = await this.bettingRound(msg, players, turnRotation, folded, turnData); if (turnRotation.length === 1) { const remainer = players.get(turnRotation[0]); @@ -150,7 +150,7 @@ module.exports = class PokerCommand extends Command { `); await delay(5000); turnOver = false; - turnRotation = this.makeTurnRotation(players, bigBlind, smallBlind); + turnRotation = this.makeTurnRotation(players, folded, bigBlind, smallBlind); while (!turnOver) turnOver = await this.bettingRound(msg, players, turnRotation, folded, turnData); if (turnRotation.length === 1) { const remainer = players.get(turnRotation[0]);