aboutsummaryrefslogtreecommitdiff
path: root/internal/game/core_login_account.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-20 03:20:01 -0400
committerhistoria <[not public]>2026-06-20 03:20:01 -0400
commite4400c5f1e84c18d2126f2cb502ae10685977cbb (patch)
tree0523e9d68f1cfdc6f81b862e3068fe12c1a85054 /internal/game/core_login_account.go
parent5ea082ab4e82409aebc889b496f43e52b003d4f7 (diff)
downloadthehouseoficarus-e4400c5f1e84c18d2126f2cb502ae10685977cbb.tar.gz
refactor: combined all station crafting
Diffstat (limited to 'internal/game/core_login_account.go')
-rw-r--r--internal/game/core_login_account.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/game/core_login_account.go b/internal/game/core_login_account.go
index 87f8c62..a2c1bd8 100644
--- a/internal/game/core_login_account.go
+++ b/internal/game/core_login_account.go
@@ -83,7 +83,7 @@ func (g *Game) handlePassword(sess *net.Session, input string) {
g.showMenu(sess)
}
-func (g *Game) handleNewAccountPass(sess *net.Session, input string) {
+func (g *Game) handleNewPass(sess *net.Session, input string) {
input = strings.TrimSpace(input)
if input == "" {
sess.Conn.SetEcho(true)
@@ -98,11 +98,11 @@ func (g *Game) handleNewAccountPass(sess *net.Session, input string) {
return
}
sess.PendingPass = input
- sess.State = net.StateNewAccountConfirm
+ sess.State = net.StateNewAccount
sess.Write("Confirm password: ")
}
-func (g *Game) handleNewAccountConfirm(sess *net.Session, input string) {
+func (g *Game) handleNewAccount(sess *net.Session, input string) {
input = strings.TrimSpace(input)
if input == "" {
sess.Conn.SetEcho(true)