From d762f8e1360cf38b8e11e69083c2dad59ec7130e Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 1 Oct 2026 16:26:11 -0400 Subject: fix: trim extra info from games, A2345 support in pai gow, remove bet timers for single player games --- internal/casino/table.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'internal/casino/table.go') diff --git a/internal/casino/table.go b/internal/casino/table.go index 88ffc62..b1beab9 100644 --- a/internal/casino/table.go +++ b/internal/casino/table.go @@ -1,7 +1,6 @@ package casino import ( - "fmt" "math/rand" ) @@ -61,13 +60,13 @@ func (b *tableBase) playerAction(name, publicMessage, privateMessage string) Eve return e } -// betMenuEvent builds the shared "place your bet" menu heading for a table -// game; only the command list differs per game. +// betMenuEvent builds the shared "place your bet" menu event for a table +// game; only the command list differs per game. The felt already names the +// game and its limits, so the menu carries just the balance and commands. func (b *tableBase) betMenuEvent(name string, commands []MenuCommand) Event { - heading := fmt.Sprintf("%s | Limits %s", b.Config.Label(), betRangeText(b.Config.MinBet, b.Config.MaxBet)) - e := b.private(name, heading) + e := b.private(name, "") e.Color = "casino_menu" - e.Menu = &MenuView{Heading: heading, ShowBalance: true, Commands: commands} + e.Menu = &MenuView{ShowBalance: true, Commands: commands} return e } -- cgit v1.2.3