dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 18f3bbe85f639560a7c535941d5169b8c99d9528
parent 3f6e4ec3ccff26b3c14cba73c8f40b78bdf58445
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Fri, 15 Dec 2023 06:03:26 -0500

cleanup

Diffstat:
Mpkg/web/handlers/poker/poker.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go @@ -272,7 +272,7 @@ func (g *Ongoing) GetPlayerBySeatIdx(seatIdx int) *PokerPlayer { func (g *Ongoing) CountCanVotePlayers() (nbCanVote int) { for _, p := range g.Players { - if !p.Folded.Load() && p.Cash > 0 { + if !p.Folded.Load() && !p.isAllIn() { nbCanVote++ } }