From b3568f03e4103dd46db2ccc680fbab0a6454d604 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 15 Sep 2026 13:56:10 -0400 Subject: fix: telnet buffer reuse, bank stack handling, transport casino gate, and admin cache invalidation --- internal/game/cmd_trigger.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'internal/game/cmd_trigger.go') diff --git a/internal/game/cmd_trigger.go b/internal/game/cmd_trigger.go index f74efec..404b924 100644 --- a/internal/game/cmd_trigger.go +++ b/internal/game/cmd_trigger.go @@ -44,6 +44,14 @@ func (g *Game) doTrigger(sess *net.Session, input string) { sess.WriteLine("You can't imagine transport would pick you up here") return } + // This also covers sequenced transport modules (e.g. transport_home), + // which never pass through triggerTransport. Transport would strand + // the player at a remote room while still seated at a table or + // machine; require them to stop playing first. + if g.inCasinoGame(p.Name) { + sess.WriteLine("You're playing a game. Type \"stop\" between rounds before transporting.") + return + } } if mod.ID == "transport_home" && p.HomeTransportCooldown > 0 { -- cgit v1.2.3