mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Simplify connector check in Properties type function
Removed redundant check for connector in the Properties type function.
This commit is contained in:
parent
2184a0fa6a
commit
820bda8eb1
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
|
||||
local connector = v.read and v.read.tag == "table" and v.read:readproperty(types.singleton("Connect"))
|
||||
if connector then
|
||||
if not connector then continue end
|
||||
local params = connector:parameters().head
|
||||
if not params then continue end
|
||||
local listener = params[2]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue