diff options
| author | historia <[not public]> | 2026-10-01 22:47:41 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-01 22:47:41 -0400 |
| commit | 8eea0e4e06a4aaa6a18edabd9897d3bea1ea2ca0 (patch) | |
| tree | 63698c0618f382a553d4558a33e3d2087039c378 /internal/casino/craps_ux.go | |
| parent | 6d9908b29c8187196d23b126b1165c7e0bd0fc76 (diff) | |
| download | thehouseoficarus-8eea0e4e06a4aaa6a18edabd9897d3bea1ea2ca0.tar.gz | |
feat: consistent wager outcome table across casino games
Diffstat (limited to 'internal/casino/craps_ux.go')
| -rw-r--r-- | internal/casino/craps_ux.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/casino/craps_ux.go b/internal/casino/craps_ux.go index 8cd5098..d0d8a62 100644 --- a/internal/casino/craps_ux.go +++ b/internal/casino/craps_ux.go @@ -134,7 +134,11 @@ func (t *crapsTable) settlementEvent(p *crapsPlayer, lines []settlementLine, fai text += payoutFailedMessage() } e := t.private(p.Name, text) + e.Settlement = lines if len(lines) > 0 { + if failed { + e.SettlementNote = payoutFailedMessage() + } e.Color = settlementTag(lines) } return e |
