We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad22cfc commit 8092f26Copy full SHA for 8092f26
src/lua/api.lua
@@ -697,10 +697,10 @@ API.functions["shop"] = function(args)
697
elseif card.ability.set == "Planet" or card.ability.set == "Tarot" or card.ability.set == "Spectral" then
698
-- Check for free consumable slots (typo is intentional, present in source)
699
if
700
- G.GAME.consumeables
701
- and G.GAME.consumeables.cards
702
- and G.GAME.consumeables.card_limit
703
- and #G.GAME.consumeables.cards >= G.GAME.consumeables.card_limit
+ G.consumeables
+ and G.consumeables.cards
+ and G.consumeables.card_limit
+ and #G.consumeables.cards >= G.consumeables.card_limit
704
then
705
API.send_error_response(
706
"Can't purchase consumable card, consumable slots are full",
0 commit comments