dkforest

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

commit 37f3ed308a251bdf111acfa500688487a62aa86c
parent 2a4d9a89938dbb9b12b78c7bc08bca0925d22301
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Thu, 21 Dec 2023 20:30:46 -0500

cleanup

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

diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go @@ -1511,17 +1511,6 @@ func (g *PokerGame) Deal(roomID RoomID, userID database.UserID) { go dealerThread(g, eligiblePlayers) } -func (g *PokerGame) countEligibleSeated() (count int) { - g.Players.RWith(func(gPlayers seatedPlayers) { - for _, p := range gPlayers { - if p.isEligible(g.PokerTableMinBet) { - count++ - } - } - }) - return -} - func (g *PokerGame) CountSeated() (count int) { g.Players.RWith(func(gPlayers seatedPlayers) { for _, p := range gPlayers {