mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix #59
This commit is contained in:
@@ -217,7 +217,7 @@ module.exports = class PokerCommand extends Command {
|
||||
let turnOver = false;
|
||||
const turnRotation = this.makeTurnRotation(players, folded, bigBlind, smallBlind);
|
||||
while (!turnOver) turnOver = await this.bettingRound(msg, players, turnRotation, folded, turnData);
|
||||
this.resetHasGoneOnce();
|
||||
this.resetHasGoneOnce(players);
|
||||
if (turnRotation.length === 1) {
|
||||
const remainer = players.get(turnRotation[0]);
|
||||
await msg.say(`${remainer.user} takes the pot.`);
|
||||
|
||||
Reference in New Issue
Block a user