mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user