summaryrefslogtreecommitdiff
path: root/script/vm/local-manager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/local-manager.lua')
-rw-r--r--script/vm/local-manager.lua3
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