summaryrefslogtreecommitdiff
path: root/script-beta/vm/eachDef.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/vm/eachDef.lua')
-rw-r--r--script-beta/vm/eachDef.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/eachDef.lua b/script-beta/vm/eachDef.lua
index 96001d97..19b0c0ed 100644
--- a/script-beta/vm/eachDef.lua
+++ b/script-beta/vm/eachDef.lua
@@ -80,7 +80,7 @@ local function ofField(source, callback)
callback(src)
end
end)
- vm.eachRef(node, function (src)
+ vm.eachDef(node, function (src)
vm.eachFieldInTable(src.value, callback)
end)
end