From 41e2f2408f7ca734383e697bfaf7fbbcf5e77532 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 11 May 2020 12:13:45 -0400 Subject: [PATCH] Fix --- commands/games-mp/poker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-mp/poker.js b/commands/games-mp/poker.js index 3fddc136..50a15a13 100644 --- a/commands/games-mp/poker.js +++ b/commands/games-mp/poker.js @@ -59,7 +59,7 @@ module.exports = class PokerCommand extends Command { const bigBlind = players.get(rotation[1]); bigBlind.money -= bigBlindAmount; bigBlind.currentBet += bigBlindAmount; - const smallBlind = players.get(rotation[2]); + const smallBlind = players.get(rotation[2] || rotation[0]); smallBlind.money -= smallBlindAmount; smallBlind.currentBet += smallBlindAmount; rotation.push(rotation[0]);