summaryrefslogtreecommitdiff
path: root/script/vm/node.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/node.lua')
-rw-r--r--script/vm/node.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/vm/node.lua b/script/vm/node.lua
index ec1b9ef2..d45ed6a7 100644
--- a/script/vm/node.lua
+++ b/script/vm/node.lua
@@ -384,7 +384,7 @@ function mt:copy()
return vm.createNode(self)
end
----@param source vm.object
+---@param source vm.object | vm.variable
---@param node vm.node | vm.node.object
---@param cover? boolean
---@return vm.node
@@ -415,7 +415,7 @@ function vm.setNode(source, node, cover)
return me
end
----@param source vm.object
+---@param source vm.object | vm.variable
---@return vm.node?
function vm.getNode(source)
return vm.nodeCache[source]