summaryrefslogtreecommitdiff
path: root/script/vm/vm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/vm.lua')
-rw-r--r--script/vm/vm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/vm.lua b/script/vm/vm.lua
index b9eccfa3..5437b632 100644
--- a/script/vm/vm.lua
+++ b/script/vm/vm.lua
@@ -75,7 +75,7 @@ function m.getObjectFunctionValue(source)
if value.type == 'getlocal' then
return m.getObjectFunctionValue(value.node)
end
- return nil
+ return value
end
m.cacheTracker = setmetatable({}, weakMT)