diff options
| author | historia <[not public]> | 2026-09-29 14:23:52 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-29 14:23:52 -0400 |
| commit | 004dcd3826856870b267a55dacf84aa7742b7e3f (patch) | |
| tree | 3789558833d8486153271e818e7579e86721855e /internal/casino/baccarat.go | |
| parent | 3db3071c444abb2133e1fcaf7e685095415c1adf (diff) | |
| download | thehouseoficarus-004dcd3826856870b267a55dacf84aa7742b7e3f.tar.gz | |
fix: detailed casino output by default, compact output overrides card size
Diffstat (limited to 'internal/casino/baccarat.go')
| -rw-r--r-- | internal/casino/baccarat.go | 4 |
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" |
