Honor modded bag capacity

This commit is contained in:
erereck
2026-08-01 00:32:00 -03:00
parent 9bcfdb1f0d
commit 6e724cedf7
17 changed files with 136 additions and 38 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ local function buy(game, stock)
list.footer = notEnough
return
end
if not Bag.add(game.save, item.value, qty) then
if not Bag.add(game.save, item.value, qty, game.data) then
list.footer = txt(game, "_PokemartItemBagFullText",
Strings("You can't carry\nany more items."))
return