diff options
| author | historia <[not public]> | 2026-09-16 02:56:56 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-16 02:56:56 -0400 |
| commit | f2d44f10f52d3fe68fdb19b518a330f7af9e1ed2 (patch) | |
| tree | 9db54e8d4fd2f9bd30c651700f7cf246eef1b017 /internal/game/core_login_char.go | |
| parent | ad60843fbf577eda80105e3916822d663aaefcb3 (diff) | |
| download | thehouseoficarus-f2d44f10f52d3fe68fdb19b518a330f7af9e1ed2.tar.gz | |
fix: disconnect race, rename ownership, reserved pickup, economy recovery retry/refund semantics
Diffstat (limited to 'internal/game/core_login_char.go')
| -rw-r--r-- | internal/game/core_login_char.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/game/core_login_char.go b/internal/game/core_login_char.go index 68a0d58..8388bfb 100644 --- a/internal/game/core_login_char.go +++ b/internal/game/core_login_char.go @@ -52,7 +52,7 @@ func (g *Game) handleNewCharName(sess *net.Session, input string) { } _ = p sess.Account.Characters = append(sess.Account.Characters, name) - g.publishAccountUpdate(sess.Account.Name) + g.publishAccountUpdate(sess.Account.Name, sess.Account.Name) g.connectCharacter(sess, name) @@ -225,7 +225,7 @@ func (g *Game) handleRenameCharName(sess *net.Session, input string) { sess.WriteLine(fmt.Sprintf("%s renamed to %s.", actualOld, newName)) // Refresh every session of this account so no stale character list or // pending selection survives the rename. - g.publishAccountUpdate(sess.Account.Name) + g.publishAccountUpdate(sess.Account.Name, sess.Account.Name) g.showMenu(sess) } @@ -299,6 +299,6 @@ func (g *Game) handleDeleteChar(sess *net.Session, input string) { sess.WriteLine(fmt.Sprintf("%s has been deleted.", actualName)) sess.PendingChar = "" - g.publishAccountUpdate(sess.Account.Name) + g.publishAccountUpdate(sess.Account.Name, sess.Account.Name) g.showMenu(sess) } |
