mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Make changed() run initially
This commit is contained in:
parent
46937c6979
commit
c03fb05779
4 changed files with 24 additions and 1 deletions
|
|
@ -12,6 +12,8 @@ local function changed<T>(property: string, callback: (T) -> ())
|
|||
cleanup(function()
|
||||
con:Disconnect()
|
||||
end)
|
||||
|
||||
callback((instance :: any)[property])
|
||||
end)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue