From 8fe9e3c3fef0049df82281a62afe35dda516dfe2 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 18 Sep 2026 17:48:26 -0400 Subject: fix: close combat ghost, admin traversal, login throttle, journal double-pay, and quality/economy gaps --- internal/game/tick.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/game/tick.go') diff --git a/internal/game/tick.go b/internal/game/tick.go index ef8089a..21489ca 100644 --- a/internal/game/tick.go +++ b/internal/game/tick.go @@ -50,6 +50,11 @@ func (g *Game) DisconnectTick() { } if sess.TickDisconnectCountdown() { delete(g.disconnectDeferrals, sess) + // The fight must not outlive the session: the combat tick + // subscribers are keyed by name and would otherwise keep + // attacking and saving for a character no longer in the world. + g.stopCombat(p.Name) + g.cancelRest(p.Name) g.restoreGodPlayer(p) g.saveCharacter(p) g.Hub.HardRemove(sess) -- cgit v1.2.3