aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/live_owner_test.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/admin/live_owner_test.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/admin/live_owner_test.go')
-rw-r--r--internal/admin/live_owner_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/admin/live_owner_test.go b/internal/admin/live_owner_test.go
index 7e94a1e..e975681 100644
--- a/internal/admin/live_owner_test.go
+++ b/internal/admin/live_owner_test.go
@@ -219,7 +219,8 @@ func newEditorHarness(t *testing.T) (*editorHarness, *gamenet.Session) {
if err := g.AccountStore.SaveCharacter(p); err != nil {
t.Fatal(err)
}
- sess := &gamenet.Session{Conn: discardConn{}, Account: acc, Player: p, State: gamenet.StateGame}
+ sess := &gamenet.Session{Conn: discardConn{}, Account: acc, Player: p}
+ sess.SetState(gamenet.StateGame)
hub.Add(sess)
hub.EnterRoom(sess, 1)
g.Ticks.Start(2)