Add flagging support to minesweeper

This commit is contained in:
Dragon Fire
2021-01-16 17:17:22 -05:00
parent 0c56aa9c13
commit 5ca58ddf75
3 changed files with 37 additions and 14 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ module.exports = class PokerCommand extends Command {
while (!winner) {
for (const player of players.values()) {
if (players.has(player.id)) continue;
rotation = removeFromArray(player.id);
rotation = removeFromArray(rotation, player.id);
}
const bigBlind = players.get(rotation[1]);
bigBlind.money -= bigBlindAmount;