From c2d4bcbc282b52b93c466c24b47690a3f6203b22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=84=B8=EC=A0=A4=EA=B7=80=20=EA=B3=A0=EC=96=91=EC=9D=B4?= =?UTF-8?q?=EB=93=A4?= <46598063+qwreey75@users.noreply.github.com> Date: Fri, 24 Dec 2021 20:21:06 +0900 Subject: [PATCH] bugfix --- src/class.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class.lua b/src/class.lua index 76edffb..408811f 100644 --- a/src/class.lua +++ b/src/class.lua @@ -117,7 +117,7 @@ function module.init(shared) -- this is will keep reference from week table until -- inscance got GCed item:GetPropertyChangedSignal("ClassName"):Connect(regFn); - elseif (valueType == "function" or valueType == "table") and bind(item,index,value,valueType) then -- connect event + elseif (valueType == "function" or valueType == "table") and indexType == "string" and bind(item,index,value,valueType) then -- connect event -- event binding elseif indexType == "string" then -- prop set