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 5de838be..b92c3a7b 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)
+ local fields = vm.getLocalFields(source, true)
if fields then
for _, field in ipairs(fields) do
pushResult(field)