Skip to content

Commit e1c6b80

Browse files
committed
fix minor bug in getObjectFunctionValue
1 parent 34217a3 commit e1c6b80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/vm/vm.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function m.getObjectFunctionValue(source)
7575
if value.type == 'getlocal' then
7676
return m.getObjectFunctionValue(value.node)
7777
end
78-
return nil
78+
return value
7979
end
8080

8181
m.cacheTracker = setmetatable({}, weakMT)

0 commit comments

Comments
 (0)