summaryrefslogtreecommitdiff
path: root/script/vm/field.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/field.lua')
-rw-r--r--script/vm/field.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/field.lua b/script/vm/field.lua
index 9e883505..9e7e9091 100644
--- a/script/vm/field.lua
+++ b/script/vm/field.lua
@@ -16,7 +16,7 @@ local searchByNodeSwitch = util.switch()
end)
local function searchByLocalID(source, pushResult)
- local fields = vm.getLocalFields(source, true)
+ local fields = vm.getVariableFields(source, true)
if fields then
for _, field in ipairs(fields) do
pushResult(field)