From f9e64f5f1ecbcfb588b46b4e8c5cd83e27a7c043 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Tue, 10 Jan 2023 19:39:59 +0100 Subject: [PATCH] typo fix --- src/core/PlayArea.ttslua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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