summaryrefslogtreecommitdiff
path: root/script/vm/ref.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/ref.lua')
-rw-r--r--script/vm/ref.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/ref.lua b/script/vm/ref.lua
index 59b62c15..93412dee 100644
--- a/script/vm/ref.lua
+++ b/script/vm/ref.lua
@@ -272,7 +272,7 @@ local function searchByNode(source, pushResult)
return
end
local uri = guide.getUri(source)
- for n in nodeMgr.eachNode(node) do
+ for n in nodeMgr.eachObject(node) do
if n.type == 'global' then
for _, get in ipairs(n:getGets(uri)) do
pushResult(get)