Skip to content

Commit ad22cfc

Browse files
stirbyS1M0N38
authored andcommitted
chore: add missing return statement in buy_card api action
1 parent 718029b commit ad22cfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lua/api.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,7 @@ API.functions["shop"] = function(args)
692692
ERROR_CODES.INVALID_ACTION,
693693
{ index = args.index }
694694
)
695+
return
695696
end
696697
elseif card.ability.set == "Planet" or card.ability.set == "Tarot" or card.ability.set == "Spectral" then
697698
-- Check for free consumable slots (typo is intentional, present in source)

0 commit comments

Comments
 (0)