mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 00:12:38 +02:00
Fix
This commit is contained in:
@@ -59,7 +59,7 @@ module.exports = class PokerCommand extends Command {
|
|||||||
const bigBlind = players.get(rotation[1]);
|
const bigBlind = players.get(rotation[1]);
|
||||||
bigBlind.money -= bigBlindAmount;
|
bigBlind.money -= bigBlindAmount;
|
||||||
bigBlind.currentBet += bigBlindAmount;
|
bigBlind.currentBet += bigBlindAmount;
|
||||||
const smallBlind = players.get(rotation[2]);
|
const smallBlind = players.get(rotation[2] || rotation[0]);
|
||||||
smallBlind.money -= smallBlindAmount;
|
smallBlind.money -= smallBlindAmount;
|
||||||
smallBlind.currentBet += smallBlindAmount;
|
smallBlind.currentBet += smallBlindAmount;
|
||||||
rotation.push(rotation[0]);
|
rotation.push(rotation[0]);
|
||||||
|
|||||||
Reference in New Issue
Block a user