diff --git a/src/core/PlayArea.ttslua b/src/core/PlayArea.ttslua index 8ce5e95a..21f07b8b 100644 --- a/src/core/PlayArea.ttslua +++ b/src/core/PlayArea.ttslua @@ -126,7 +126,7 @@ end function onObjectPickUp(player, object) -- only continue for cards - local objType = obj.name + local objType = object.name 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