mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
This commit is contained in:
parent
676bbbcc00
commit
96e577a626
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ local function recurse(instance: Instance, properties: { [unknown]: unknown }, e
|
||||||
recurse(instance, value :: {}, event_buffer)
|
recurse(instance, value :: {}, event_buffer)
|
||||||
elseif type(property) == "string" then
|
elseif type(property) == "string" then
|
||||||
if type(value) == "function" then
|
if type(value) == "function" then
|
||||||
if typeof((instance :: any)[property] == "RBXScriptSignal") then
|
if typeof((instance :: any)[property]) == "RBXScriptSignal" then
|
||||||
event_buffer[property] = value
|
event_buffer[property] = value
|
||||||
else
|
else
|
||||||
bind.property(instance, property, value :: () -> ())
|
bind.property(instance, property, value :: () -> ())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue