diff options
| author | historia <[not public]> | 2026-10-01 05:05:11 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-01 05:05:11 -0400 |
| commit | d4eae333a8d8a96452bbf3617aa85b50466c11a7 (patch) | |
| tree | 90d4cf075fe5467b35e5cc53ff3ee30fc4ee1feb /internal/game/casino_ux.go | |
| parent | 299b5b67aa80ba2539d7a91c60943060b0426b45 (diff) | |
| download | thehouseoficarus-d4eae333a8d8a96452bbf3617aa85b50466c11a7.tar.gz | |
feat: concise table/machine names, casino command shortcuts, remove payout video poker command
Diffstat (limited to 'internal/game/casino_ux.go')
| -rw-r--r-- | internal/game/casino_ux.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/game/casino_ux.go b/internal/game/casino_ux.go index 750d05d..fc37e7d 100644 --- a/internal/game/casino_ux.go +++ b/internal/game/casino_ux.go @@ -69,7 +69,8 @@ func (g *Game) casinoChoices(roomID int) []casinoChoice { var choices []casinoChoice for _, c := range room.CasinoTables { if c.Game == casino.GameVideoPoker { - choices = append(choices, casinoChoice{address: c.ID, names: []string{c.ID, "video_poker", "vp", c.VideoPoker.Normalize().Variant}, table: true}) + names := append([]string{c.ID}, c.VideoPoker.CabinetAliases()...) + choices = append(choices, casinoChoice{address: c.ID, names: names, table: true}) continue } names := []string{string(c.Game)} |
