diff options
| author | historia <[not public]> | 2026-10-05 17:31:50 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-05 17:31:50 -0400 |
| commit | 516fd29da423432ef6dfded21a984f1d15dcab1a (patch) | |
| tree | eb2dabe325a1335dedac28a93453df643ef986f2 /internal/game/credits_pickup_test.go | |
| parent | e42952469dadfb3535633c66c881050ac128703c (diff) | |
| download | thehouseoficarus-516fd29da423432ef6dfded21a984f1d15dcab1a.tar.gz | |
fix: slop casino and economy fixes
Diffstat (limited to 'internal/game/credits_pickup_test.go')
| -rw-r--r-- | internal/game/credits_pickup_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/credits_pickup_test.go b/internal/game/credits_pickup_test.go index 721c550..4342ea8 100644 --- a/internal/game/credits_pickup_test.go +++ b/internal/game/credits_pickup_test.go @@ -19,7 +19,7 @@ func TestPickupCreditsSentinelQuantity(t *testing.T) { p.Credits = 100 h.g.World.AddGroundItem(p.RoomID, "credits", 10) sess := &net.Session{Player: p, Conn: newChanConn()} - h.g.pickupCredits(sess, p, "credits") + h.g.pickupCredits(sess, p, "credits", 0) if p.Credits != 110 { t.Errorf("credits after pickup = %d, want 110 (output: %s)", p.Credits, sess.Conn.(*chanConn).Bytes()) } |
