commit f496e4afff31c109c9c118a294bd9f10d00900fb
parent 8e335898aa8bdd4dab5564e09f1ad497a7ab1f6c
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Mon, 18 Dec 2023 21:28:25 -0500
doc
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go
@@ -879,6 +879,7 @@ RoundIsSettled:
// Always refund the difference between the first-biggest bet and the second-biggest bet.
// We refund the "uncalled bet" so that it does not go in the main pot and does not get raked.
+ // Also, if a player goes all-in and a fraction of his bet is not matched, it will be refunded.
refundUncalledBet(db, ongoing, pokerTableID, roomTopic)
// Transfer players bets into the main pot