dkforest

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

commit 18bd51b4e0b9431a9f0249cac82f13af366fd3ed
parent 86a3998038a3f4b7e421850b5f591a4e1037da01
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Thu,  7 Dec 2023 17:30:12 -0500

fix

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 @@ -784,7 +784,7 @@ func processPot(winners []GameResult, nbPlayers, mainPot int) (winnersStr, winne isDone = false continue } - piece := mainPot / nbPlayersInGroup // TODO: fix this + piece := mainPot / (nbPlayersInGroup - allInCount) // TODO: fix this for _, p := range group.Players { if p.Cash > 0 { p.Cash += piece