aboutsummaryrefslogtreecommitdiff
path: root/internal/game/casino_house_edge.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/casino_house_edge.go')
-rw-r--r--internal/game/casino_house_edge.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/internal/game/casino_house_edge.go b/internal/game/casino_house_edge.go
index 19d8cc2..1abbcac 100644
--- a/internal/game/casino_house_edge.go
+++ b/internal/game/casino_house_edge.go
@@ -78,8 +78,10 @@ func (g *Game) casinoListRows(sess *net.Session, t *casino.Table, wagers []casin
entry := row
if strings.Contains(wager.Bet, "<n>") {
entry.bet = strings.ReplaceAll(wager.Bet, "<n>", part.Label)
- } else {
- entry.win = part.Label + "; " + entry.win
+ } else if part.Label != "" {
+ // The label refines the shared win text (hop's doubles), so append
+ // it: the base phrase stays "Next roll is a/b (doubles)".
+ entry.win = entry.win + " " + part.Label
}
entry.edge = casino.HouseEdge{Parts: []casino.EdgePart{part}}
rows = append(rows, entry)