From fea2cc6839ec3ee17940a2dea69622dc6f4deabf Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 16 Sep 2026 21:35:55 -0400 Subject: fix: unify crafting ingredient resolution; fix superheat alternatives, quantity gates, and dropped combine byproducts --- internal/game/quit_casino_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/game/quit_casino_test.go') diff --git a/internal/game/quit_casino_test.go b/internal/game/quit_casino_test.go index f905fca..50f9ac8 100644 --- a/internal/game/quit_casino_test.go +++ b/internal/game/quit_casino_test.go @@ -204,7 +204,7 @@ func TestQuitNowForfeitsOnlyAtLogout(t *testing.T) { if _, playing := g.Casino.Participation("bob"); !playing { t.Fatal("quit now removed the wrong player") } - if sess.Player != nil || sess.State != net.StateMenu { + if sess.Player != nil || sess.State() != net.StateMenu { t.Fatal("quit now did not log the player out") } if _, stillLoggedIn := g.loggedInChars["alice"]; stillLoggedIn { @@ -257,7 +257,7 @@ func TestQuitNowAtMachineHoldsUntilLogout(t *testing.T) { if _, playing := g.Casino.Participation("alice"); playing { t.Fatal("quit now did not free the machine at the logout tick") } - if sess.Player != nil || sess.State != net.StateMenu { + if sess.Player != nil || sess.State() != net.StateMenu { t.Fatal("quit now did not log the player out") } } -- cgit v1.2.3