adding missing line
This commit is contained in:
parent
c9db56be37
commit
be65664163
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user