From e42952469dadfb3535633c66c881050ac128703c Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 5 Oct 2026 17:05:14 -0400 Subject: fix: gather verbs, walk oom, admin path bypass, roulette refund --- internal/casino/craps_wagers.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'internal/casino/craps_wagers.go') diff --git a/internal/casino/craps_wagers.go b/internal/casino/craps_wagers.go index beb8722..33b465b 100644 --- a/internal/casino/craps_wagers.go +++ b/internal/casino/craps_wagers.go @@ -9,7 +9,7 @@ import ( // where two bets share the same payout (pass/don't pass, the place numbers, // all free odds) so the list stays compact and the Win/action column rarely // wraps. Payouts are profit odds; winning stakes return alongside the profit. -func (t *crapsTable) wagerRows(name string) []WagerRow { +func (t *crapsTable) wagerRows() []WagerRow { c := t.Config.Craps rows := []WagerRow{} passWin := "Come out: 7/11 wins, 2/3/12 loses / Point on: Roll the point to win." @@ -52,7 +52,7 @@ func (t *crapsTable) wagerRows(name string) []WagerRow { WagerRow{"hard 6/8", "9:1", "Roll this pair before next 7"}, ) } - rows = append(rows, crapsPropRows(c, false)...) + rows = append(rows, crapsPropRows(false)...) default: // bank and diceless rows = append(rows, WagerRow{"pass", "1:1", passWin}, @@ -71,7 +71,7 @@ func (t *crapsTable) wagerRows(name string) []WagerRow { WagerRow{"hard 6/8", "9:1", "Roll this pair before next 7"}, ) } - rows = append(rows, crapsPropRows(c, !t.rolled)...) + rows = append(rows, crapsPropRows(!t.rolled)...) } return rows } @@ -87,7 +87,7 @@ func crapsBuyLayRows() []WagerRow { // crapsPropRows is the one-roll section of the list: field, the proposition // bets and (when bonuses are allowed and still open) the Fire and ATS bets. -func crapsPropRows(c CrapsConfig, bonuses bool) []WagerRow { +func crapsPropRows(bonuses bool) []WagerRow { rows := []WagerRow{ {"field", "1:1", "Next roll is 2-4 or 9-12"}, {"seven", "4:1", "Next roll totals 7"}, -- cgit v1.2.3