diff options
| author | historia <[not public]> | 2026-09-30 17:30:00 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-30 17:30:00 -0400 |
| commit | 39ad552cb5f48c288e1d7a62e80ceb180882eae0 (patch) | |
| tree | 50ec7474012db8dd092ed996d592591ec9425d39 /internal/casino/core.go | |
| parent | a18bc0a38e3a90bcd91260d7abfef340f093a9bd (diff) | |
| download | thehouseoficarus-39ad552cb5f48c288e1d7a62e80ceb180882eae0.tar.gz | |
chore: remove dead casino code and fold duplicated menu/odds logic
Diffstat (limited to 'internal/casino/core.go')
| -rw-r--r-- | internal/casino/core.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/casino/core.go b/internal/casino/core.go index a927ab1..fdb7877 100644 --- a/internal/casino/core.go +++ b/internal/casino/core.go @@ -181,9 +181,7 @@ func settleStakeOutcome(w Wallet, payout int, stakeIDs []string, payoutErr error } // A zero payout is a loss: consume the stakes in one save so recovery can // never refund a round that resolved. - if w != nil { - w.ResolveStakesByIDs(stakeIDs...) - } + w.ResolveStakesByIDs(stakeIDs...) return false } |
