This commit is contained in:
Chr1Z93 2023-01-10 19:39:59 +01:00
parent be65664163
commit f9e64f5f1e

View File

@ -126,7 +126,7 @@ end
function onObjectPickUp(player, object) function onObjectPickUp(player, object)
-- only continue for cards -- only continue for cards
local objType = obj.name local objType = object.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