aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/blackjack.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-30 17:30:00 -0400
committerhistoria <[not public]>2026-09-30 17:30:00 -0400
commit39ad552cb5f48c288e1d7a62e80ceb180882eae0 (patch)
tree50ec7474012db8dd092ed996d592591ec9425d39 /internal/casino/blackjack.go
parenta18bc0a38e3a90bcd91260d7abfef340f093a9bd (diff)
downloadthehouseoficarus-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.go2
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