From 9fb1f9010526100e12dd1ab1b0ca98401bb6ed75 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sat, 10 Oct 2026 04:08:09 -0400 Subject: feat: add casino game: crazy time --- internal/casino/craps.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/casino/craps.go') diff --git a/internal/casino/craps.go b/internal/casino/craps.go index 208799e..2b0243b 100644 --- a/internal/casino/craps.go +++ b/internal/casino/craps.go @@ -276,7 +276,7 @@ func (t *crapsTable) bet(name, spot string, amount int, w Wallet) []Event { if amount != requested { msg += fmt.Sprintf(" {casino_emphasis}Rounded up from %d for exact odds units.{/}", requested) } - return []Event{t.private(name, msg), t.betSummary(p), t.reminder(name)} + return stripMenuBalance([]Event{t.private(name, msg), t.betSummary(p), t.reminder(name)}) } return reject("Place an established line/come bet before taking odds.") } @@ -331,7 +331,7 @@ func (t *crapsTable) bet(name, spot string, amount int, w Wallet) []Event { } events := []Event{t.playerAction(name, fmt.Sprintf("%s bets %d on %s.", name, amount, spot), private)} events = append(events, t.syncRoundClock()...) - return append(events, t.betSummary(p), t.reminder(name)) + return stripMenuBalance(append(events, t.betSummary(p), t.reminder(name))) } func (t *crapsTable) pay(p *crapsPlayer, b *crapsBet, profit, den int, oddsProfit int, refundOdds bool) bool { payout := crapsReturn(b, profit, den, oddsProfit, refundOdds) -- cgit v1.2.3