From 9a716a7d2ce514f452b425caedc1a9a15cde09f0 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 7 Aug 2026 05:02:39 -0400 Subject: feat: disconnect forfeits bet and frees up seat --- internal/game/cmd_quit.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/game/cmd_quit.go') diff --git a/internal/game/cmd_quit.go b/internal/game/cmd_quit.go index b7ec972..fa4038b 100644 --- a/internal/game/cmd_quit.go +++ b/internal/game/cmd_quit.go @@ -38,6 +38,7 @@ func (g *Game) doQuit(sess *net.Session) { case 0: g.cancelRest(p.Name) g.restoreGodPlayer(p) + g.emitCasinoEvents(g.Casino.MarkDisconnected(p.Name)) g.AccountStore.SaveCharacter(p) g.charsMu.Lock() delete(g.loggedInChars, p.Name) -- cgit v1.2.3