dkforest

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

commit 257fec85632673c18ba2c82d94efc93eb3e76b28
parent eb67d2942324330e005e7e818b500c29e6b34ec6
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Mon, 18 Dec 2023 23:11:13 -0500

cleanup

Diffstat:
Mpkg/web/handlers/poker/poker.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go @@ -336,10 +336,10 @@ func (g *Ongoing) getPlayerBySeatIdx(seatIdx int) (*PokerPlayer, int) { return nil, -1 } -func (g *Ongoing) countCanBetPlayers() (nbCanVote int) { +func (g *Ongoing) countCanBetPlayers() (nbCanBet int) { for _, p := range g.Players { if p.canBet() { - nbCanVote++ + nbCanBet++ } } return