From 516fd29da423432ef6dfded21a984f1d15dcab1a Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 5 Oct 2026 17:31:50 -0400 Subject: fix: slop casino and economy fixes --- internal/game/hardening_credit_cap_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/game/hardening_credit_cap_test.go') diff --git a/internal/game/hardening_credit_cap_test.go b/internal/game/hardening_credit_cap_test.go index 872c746..05b0aeb 100644 --- a/internal/game/hardening_credit_cap_test.go +++ b/internal/game/hardening_credit_cap_test.go @@ -23,7 +23,7 @@ func TestPickupCreditsAtCapLeavesRemainderOnGround(t *testing.T) { sess := &net.Session{Conn: newChanConn(), Player: p} sess.SetState(net.StateGame) - h.g.pickupCredits(sess, p, "credits") + h.g.pickupCredits(sess, p, "credits", 0) if p.Credits != casino.MaxCredits { t.Errorf("balance = %d, want the cap %d", p.Credits, casino.MaxCredits) @@ -44,7 +44,7 @@ func TestPickupCreditsAtCapDestroysNothing(t *testing.T) { sess := &net.Session{Conn: newChanConn(), Player: p} sess.SetState(net.StateGame) - h.g.pickupCredits(sess, p, "credits") + h.g.pickupCredits(sess, p, "credits", 0) if p.Credits != casino.MaxCredits { t.Errorf("balance = %d, want the cap %d", p.Credits, casino.MaxCredits) -- cgit v1.2.3