aboutsummaryrefslogtreecommitdiff
path: root/internal/net/web.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-16 21:35:55 -0400
committerhistoria <[not public]>2026-09-16 21:35:55 -0400
commitfea2cc6839ec3ee17940a2dea69622dc6f4deabf (patch)
tree9d893525ca20d2cc920e9e866f84f71b605d8ae9 /internal/net/web.go
parent35ddd0ad2215760bb1d3dc7724480f179ea33fa6 (diff)
downloadthehouseoficarus-fea2cc6839ec3ee17940a2dea69622dc6f4deabf.tar.gz
fix: unify crafting ingredient resolution; fix superheat alternatives, quantity gates, and dropped combine byproducts
Diffstat (limited to 'internal/net/web.go')
-rw-r--r--internal/net/web.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/net/web.go b/internal/net/web.go
index 233928f..8353c8d 100644
--- a/internal/net/web.go
+++ b/internal/net/web.go
@@ -61,9 +61,9 @@ func newHTTPMux(s *Server) *http.ServeMux {
return
}
sess := &Session{
- Conn: newWSConn(ws),
- State: StateAccountName,
+ Conn: newWSConn(ws),
}
+ sess.SetState(StateAccountName)
sess.StartWriter()
s.hub.Add(sess)
go s.handleSession(sess, s.handler)