From 0fcb03633e3008169173d76c8408f5410592b3eb Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 30 Sep 2026 05:33:45 -0400 Subject: feat: bank craps added to casino --- internal/game/cmd_stop.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal/game/cmd_stop.go') diff --git a/internal/game/cmd_stop.go b/internal/game/cmd_stop.go index 2f2a7ee..7075d01 100644 --- a/internal/game/cmd_stop.go +++ b/internal/game/cmd_stop.go @@ -11,6 +11,10 @@ func (g *Game) executeStop(sess *net.Session, args []string, rawInput string) { g.cancelRest(p.Name) if _, playing := g.Casino.Participation(p.Name); playing { if table, _ := g.Casino.Participation(p.Name); table != nil { + if events, stopped := table.StopAutoRoll(p.Name); stopped { + g.emitCasinoEvents(events) + return + } // Normal leave refuses committed wagers. Only an explicit stop // queues a departure; movement/quit retain their existing policy. events := g.Casino.Leave(table.RoomID, table.Config.ID, p.Name) -- cgit v1.2.3