From f2d44f10f52d3fe68fdb19b518a330f7af9e1ed2 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 16 Sep 2026 02:56:56 -0400 Subject: fix: disconnect race, rename ownership, reserved pickup, economy recovery retry/refund semantics --- internal/game/core_login_account.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'internal/game/core_login_account.go') diff --git a/internal/game/core_login_account.go b/internal/game/core_login_account.go index 60cca2c..c5f1064 100644 --- a/internal/game/core_login_account.go +++ b/internal/game/core_login_account.go @@ -368,8 +368,9 @@ func (g *Game) handleRenameAccount(sess *net.Session, input string) { // Republish account state to EVERY session of this account: other // authenticated sessions must not retain stale account objects or - // pending menu selections bound to the old name. - g.publishAccountUpdate(newName) + // pending menu selections bound to the old name. Stale sessions still + // carry the old cached name, so match both. + g.publishAccountUpdate(oldName, newName) sess.WriteLine(fmt.Sprintf("Account renamed to %s.", newName)) g.showMenu(sess) -- cgit v1.2.3