From 0ea4eec5dd2122c6704216971eb1249276297867 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 19 Jun 2026 18:20:26 -0400 Subject: shop fixes, 'toggle' completely removed, movement speed increased --- internal/game/login_account.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'internal/game/login_account.go') diff --git a/internal/game/login_account.go b/internal/game/login_account.go index 176a1ee..87f8c62 100644 --- a/internal/game/login_account.go +++ b/internal/game/login_account.go @@ -17,7 +17,7 @@ func (g *Game) handleAccountName(sess *net.Session, input string) { } actualName, err := g.AccountStore.FindAccount(name) if err == nil { - sess.Account = &net.AccountEntry{Name: actualName} + sess.Account = &player.Account{Name: actualName} sess.State = net.StatePassword sess.Conn.SetEcho(false) sess.Write("Password: ") @@ -27,7 +27,7 @@ func (g *Game) handleAccountName(sess *net.Session, input string) { sess.Write("Account name: ") return } - sess.Account = &net.AccountEntry{Name: name} + sess.Account = &player.Account{Name: name} sess.State = net.StateNewAccountPass sess.Conn.SetEcho(false) sess.WriteLine("\r\nOh, a new visitor to this rock!") @@ -63,7 +63,7 @@ func (g *Game) handlePassword(sess *net.Session, input string) { return } sess.Conn.SetEcho(true) - sess.Account = &net.AccountEntry{ + sess.Account = &player.Account{ Name: acc.Name, PasswordHash: acc.PasswordHash, Characters: acc.Characters, @@ -144,7 +144,7 @@ func (g *Game) handleNewAccountConfirm(sess *net.Session, input string) { } sess.Conn.SetEcho(true) - sess.Account = &net.AccountEntry{ + sess.Account = &player.Account{ Name: acc.Name, PasswordHash: acc.PasswordHash, Aliases: make(map[string]string), -- cgit v1.2.3