commit cac857301faf2b3d19555275bb5f0c42a5235870
parent fc887d971e5f957f7c4b937802b777e8e73bdca1
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Fri, 15 Dec 2023 05:41:18 -0500
cleanup
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go
@@ -529,7 +529,6 @@ OUTER:
}
setWaitTurn(g, roomTopic, p.SeatIdx)
-
PokerPubSub.Pub(roomUserTopic, PokerYourTurnEvent{})
// Maximum time allowed for the player to send his action
@@ -542,9 +541,6 @@ OUTER:
case evt = <-g.PlayersEventCh:
case <-waitCh:
// Waited too long, either auto-check or auto-fold
- if p.isAllIn() {
- break LOOP
- }
if p.Bet < minBet {
foldPlayer(p)
newLogEvent(g, roomLogsTopic, fmt.Sprintf("%s auto fold", pUsername))