diff options
| author | historia <[not public]> | 2026-09-29 17:50:33 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-29 17:50:33 -0400 |
| commit | ff9002b96e35ad0808945e7c35791460c9ca8776 (patch) | |
| tree | 34c99c64176a7a2d26201f21f97ef7b54b64eb59 /internal/casino/registry.go | |
| parent | 00fe5f7ead43627fa283035b27365924b76c5a0f (diff) | |
| download | thehouseoficarus-ff9002b96e35ad0808945e7c35791460c9ca8776.tar.gz | |
feat: roulette racetrack betting, rename casino to domita fortuna
Diffstat (limited to 'internal/casino/registry.go')
| -rw-r--r-- | internal/casino/registry.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/casino/registry.go b/internal/casino/registry.go index f27f7bd..7b5de83 100644 --- a/internal/casino/registry.go +++ b/internal/casino/registry.go @@ -39,6 +39,9 @@ func init() { if c.Roulette.SpinTicks < 0 || c.Roulette.SpinTicks > maxSpinTicks { return fmt.Errorf("roulette spin_ticks must be between 0 and %d", maxSpinTicks) } + if c.Roulette.Racetrack && c.Roulette.DoubleZero { + return fmt.Errorf("roulette racetrack is only available on single-zero tables; remove racetrack or set double_zero: false") + } return nil }, normalize: func(c TableConfig) TableConfig { |
