adding missing line

This commit is contained in:
Chr1Z93 2023-01-10 19:38:01 +01:00
parent c9db56be37
commit be65664163

View File

@ -126,6 +126,7 @@ end
function onObjectPickUp(player, object) function onObjectPickUp(player, object)
-- only continue for cards -- only continue for cards
local objType = obj.name
if objType ~= "Card" and objType ~= "CardCustom" then return end if objType ~= "Card" and objType ~= "CardCustom" then return end
-- onCollisionExit fires first, so we have to check the card to see if it's a location we should -- onCollisionExit fires first, so we have to check the card to see if it's a location we should