diff options
| author | historia <[not public]> | 2026-09-30 17:49:28 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-30 17:49:28 -0400 |
| commit | 2317022c16b520dd5272facfd5092a4c58cac44b (patch) | |
| tree | cc7501ecfb106e462457b2ba3489e7ce14d64c5a /internal/game/casino.go | |
| parent | 39ad552cb5f48c288e1d7a62e80ceb180882eae0 (diff) | |
| download | thehouseoficarus-2317022c16b520dd5272facfd5092a4c58cac44b.tar.gz | |
fix: simplified simplified craps, removed unnecessary commands and instructions
Diffstat (limited to 'internal/game/casino.go')
| -rw-r--r-- | internal/game/casino.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/game/casino.go b/internal/game/casino.go index 517cde0..744eac6 100644 --- a/internal/game/casino.go +++ b/internal/game/casino.go @@ -639,12 +639,12 @@ func (g *Game) casinoBoardReminder(sess *net.Session, category string, menu *cas } // composeTableThenReminder joins a menu header, the board graphic, and the -// wager reminder. The board snapshot already leads with a blank line, so only -// the reminder needs an extra gap before it. +// wager reminder. The board snapshot already leads with a blank line, and the +// reminder keeps exactly one blank line below the board's last visible row. func composeTableThenReminder(header, table, reminder string) string { out := header if table != "" { - out += "\n" + table + out += "\n" + strings.TrimRight(table, "\n") } if reminder != "" { out += "\n\n" + reminder |
