From 96e577a6263f68c98f2e1b44a97bebb0b8d66ddd Mon Sep 17 00:00:00 2001 From: aaron <83140718+centau@users.noreply.github.com> Date: Sun, 30 Jul 2023 22:39:04 +0100 Subject: [PATCH] --- src/apply.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apply.lua b/src/apply.lua index f87fc60..e5118e0 100644 --- a/src/apply.lua +++ b/src/apply.lua @@ -16,7 +16,7 @@ local function recurse(instance: Instance, properties: { [unknown]: unknown }, e recurse(instance, value :: {}, event_buffer) elseif type(property) == "string" then if type(value) == "function" then - if typeof((instance :: any)[property] == "RBXScriptSignal") then + if typeof((instance :: any)[property]) == "RBXScriptSignal" then event_buffer[property] = value else bind.property(instance, property, value :: () -> ())