From 0e60567a7a0addb9421769ee7be7853bfa8788cb Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sat, 19 Sep 2026 03:15:59 -0400 Subject: refactor: simplifcation, change how rooms are stored in player yaml, remove legacy code --- internal/casino/slots.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/casino/slots.go') diff --git a/internal/casino/slots.go b/internal/casino/slots.go index 217e9fb..419cfcf 100644 --- a/internal/casino/slots.go +++ b/internal/casino/slots.go @@ -76,9 +76,9 @@ func (p SlotProfile) Normalize() SlotProfile { if p.FreeSpinCount <= 0 { p.FreeSpinCount = 8 } - if len(p.Symbols) == 0 { - return DefaultHuffAndPuffProfile() - } + // An empty symbol table is NOT defaulted: a new variant that forgets its + // symbols must fail validation, not silently play the built-in cabinet. + // machineSlotProfile is the one place that starts from a real profile. return p } -- cgit v1.2.3