From 79764732406d6484f67d3dec045483dcb5d08c28 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 18 Sep 2026 20:03:13 -0400 Subject: feat: better card ascii art --- internal/game/production_engine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/game/production_engine.go') diff --git a/internal/game/production_engine.go b/internal/game/production_engine.go index 89d6f55..9795db0 100644 --- a/internal/game/production_engine.go +++ b/internal/game/production_engine.go @@ -440,7 +440,7 @@ func (g *Game) canContinueProduction(p *player.Player, item *item.ItemDef) bool } outDef, _ := g.ItemStore.Load(item.ID) if outDef != nil && outDef.Stackable { - for i := 0; i < 28; i++ { + for i := 0; i < player.MaxInventorySlots; i++ { slot := p.InvSlot(i) if slot != nil && slot.ItemID == item.ID { return true -- cgit v1.2.3