dkforest

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

commit bb49a83653aa6dcf651488610cad0a39036cade5
parent f135880f5a05976fec949a06097ca6ad0dd1e615
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Fri,  8 Dec 2023 05:57:17 -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 @@ -832,7 +832,7 @@ func processPot(winners []GameResult, mainPot int) (res []PlayerGain) { isDone = false continue } - piece := mainPot / (nbPlayersInGroup - allInCount) // TODO: fix this + piece := mainPot / (nbPlayersInGroup - allInCount) for _, p := range group.Players { if p.Cash > 0 { res = append(res, PlayerGain{p, piece, groupIdx, handStr})