commit 4caeae9b3f91415f54be1b2009977e17bf719e6f
parent e607d77d0b1639fee37332156eb621104ea2960c
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Tue, 5 Dec 2023 17:58:54 -0500
comment
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/pkg/web/handlers/poker.go b/pkg/web/handlers/poker.go
@@ -268,6 +268,7 @@ func (g *PokerGame) Deal(roomID string) {
}
}
+ // Transfer players bets into the main pot
for i := range g.Ongoing.Players {
if g.Ongoing.Players[i] != nil {
g.Ongoing.MainPot += g.Ongoing.Players[i].Bet