diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-13 19:59:45 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-13 19:59:45 +0800 |
commit | b3b71716f689be9115cdde8d6caf0314e76ae523 (patch) | |
tree | d1859d7a80d635b6157a431c1ef6f51c8a4484f0 /script/vm/local-manager.lua | |
parent | 43ef5d13ab20b77da3e4f7626116f0580aa1377e (diff) | |
download | lua-language-server-b3b71716f689be9115cdde8d6caf0314e76ae523.zip |
cleanup
Diffstat (limited to 'script/vm/local-manager.lua')
-rw-r--r-- | script/vm/local-manager.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/vm/local-manager.lua b/script/vm/local-manager.lua index 9ffee344..2baabed4 100644 --- a/script/vm/local-manager.lua +++ b/script/vm/local-manager.lua @@ -26,10 +26,11 @@ end ---@param source parser.object ---@param node vm.node function m.subscribeLocal(source, node) + -- TODO: need delete if not node then return end - if node.type == 'vm.union' then + if node.type == 'vm.node' then node:subscribeLocal(source) return end |