aboutsummaryrefslogtreecommitdiff
path: root/internal/game/account_txn.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/account_txn.go')
-rw-r--r--internal/game/account_txn.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/account_txn.go b/internal/game/account_txn.go
index 25cbcdb..2a420ca 100644
--- a/internal/game/account_txn.go
+++ b/internal/game/account_txn.go
@@ -354,7 +354,7 @@ func (g *Game) publishAccountUpdate(oldName, newName string) {
}
if !found {
sess.PendingChar = ""
- sess.State = net.StateMenu
+ sess.SetState(net.StateMenu)
g.showMenu(sess)
}
}