This commit is contained in:
Dragon Fire
2020-11-22 11:52:09 -05:00
parent 54843c5af1
commit bfd26c16f7
+1 -1
View File
@@ -65,7 +65,7 @@ module.exports = class PokerCommand extends Command {
});
}
let winner = null;
let rotation = players.map(p => p.id);
const rotation = players.map(p => p.id);
while (!winner) {
const bigBlind = players.get(rotation[1]);
bigBlind.money -= bigBlindAmount;