diff options
| author | historia <[not public]> | 2026-10-01 04:26:20 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-01 04:26:20 -0400 |
| commit | 0ba388bbe229dd1ccfcb0831d21a5542ae0935f1 (patch) | |
| tree | c5686cf404e3dc5001d2c9b2792749ae7a3c9801 /internal/casino/config_validate.go | |
| parent | e3ff06fc79682673194c8913f0feb9e90920e7d0 (diff) | |
| download | thehouseoficarus-0ba388bbe229dd1ccfcb0831d21a5542ae0935f1.tar.gz | |
feat: video poker machines added to casino
Diffstat (limited to 'internal/casino/config_validate.go')
| -rw-r--r-- | internal/casino/config_validate.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/casino/config_validate.go b/internal/casino/config_validate.go index a35f039..74dc0a4 100644 --- a/internal/casino/config_validate.go +++ b/internal/casino/config_validate.go @@ -358,6 +358,9 @@ func ValidateRoomConfigs(tables []TableConfig, machines []MachineConfig) error { } for _, c := range tables { check("table", c.ID, c.Validate()) + if c.Game == GameVideoPoker { + continue + } // Cabinets are addressed by unique ID, not game name. checkAddressable(strings.ToLower(string(c.Game)), c.ID) } // A machine addresses by its variant when one is declared; a bare game |
