mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Merge pull request #64 from wiam77/patch-1
Simplify connector check in Properties type function
This commit is contained in:
commit
3faa1ed701
1 changed files with 0 additions and 1 deletions
|
|
@ -76,7 +76,6 @@ type function Properties(instance: type?)
|
||||||
for i, v in instance:properties() do
|
for i, v in instance:properties() do
|
||||||
local connector = v.read and v.read.tag == "table" and v.read:readproperty(types.singleton("Connect"))
|
local connector = v.read and v.read.tag == "table" and v.read:readproperty(types.singleton("Connect"))
|
||||||
if connector then
|
if connector then
|
||||||
if not connector then continue end
|
|
||||||
local params = connector:parameters().head
|
local params = connector:parameters().head
|
||||||
if not params then continue end
|
if not params then continue end
|
||||||
local listener = params[2]
|
local listener = params[2]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue