commit 257fec85632673c18ba2c82d94efc93eb3e76b28 parent eb67d2942324330e005e7e818b500c29e6b34ec6 Author: n0tr1v <n0tr1v@protonmail.com> Date: Mon, 18 Dec 2023 23:11:13 -0500 cleanup Diffstat:
| M | pkg/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