dkforest

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

commit bbcd8070b32ce12134885906b65021f9eaa69b1f
parent ebc3bbced1fa3fc482ea94f25f5527fc21cd8060
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sun, 17 Dec 2023 08:49:38 -0500

fix bug

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 @@ -1168,7 +1168,7 @@ func applyGains(g *PokerGame, playersGain []PlayerGain, mainPot, rake database.P el.Player.gain(tx, pokerTableID, el.Gain) } for _, op := range ongoing.Players { - op.resetBet() + op.gain(tx, pokerTableID, 0) } } else if nbPlayersGain == 0 {