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/blackjack.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/blackjack.go')
| -rw-r--r-- | internal/casino/blackjack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/casino/blackjack.go b/internal/casino/blackjack.go index 925b7ef..53bee6c 100644 --- a/internal/casino/blackjack.go +++ b/internal/casino/blackjack.go @@ -535,7 +535,7 @@ func (t *blackjackTable) prompt() []Event { // The absolute turn ceiling belongs to the turn, not the prompt: restart // it only when the active (player, hand) changes. A seat event that // re-prompts the same turn must not reset a hung bettor's deadline. - if name != t.turnName || t.activeHand != t.turnHand { + if changed { t.ceiling.start(t.Rules.ActionTicks * loneTurnGrace) t.turnName = name t.turnHand = t.activeHand |
