aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/baccarat.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/casino/baccarat.go')
-rw-r--r--internal/casino/baccarat.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/casino/baccarat.go b/internal/casino/baccarat.go
index e34518f..ad56da4 100644
--- a/internal/casino/baccarat.go
+++ b/internal/casino/baccarat.go
@@ -192,7 +192,9 @@ func (t *baccaratTable) deal() []Event {
publicResult = p.Name + "’s settlement is pending recovery."
}
settlement := t.playerAction(p.Name, publicResult, privateResult)
- settlement.ShowBalance = !payoutFailed
+ // Returning players get their balance in the next bet menu; only
+ // departures/sit-outs need it attached to the settlement.
+ settlement.ShowBalance = !payoutFailed && (p.LeaveAfter || p.SitOutAfter || !p.Connected)
if result == "win" {
if p.lastSpot == baccaratSpotTie {
settlement.Color = "casino_jackpot_win"