aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/craps.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-10 04:08:09 -0400
committerhistoria <[not public]>2026-10-10 04:08:09 -0400
commit9fb1f9010526100e12dd1ab1b0ca98401bb6ed75 (patch)
tree4a128211bfb0dd429bbb559a591d6c4be25c7757 /internal/casino/craps.go
parentced77d7c89129da6ba4001ab8e3dad265aa41396 (diff)
downloadthehouseoficarus-main.tar.gz
feat: add casino game: crazy timeHEADmain
Diffstat (limited to 'internal/casino/craps.go')
-rw-r--r--internal/casino/craps.go4
1 files changed, 2 insertions, 2 deletions
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)