diff options
-rw-r--r-- | script/vm/compiler.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index 8df28e7b..c3d4c159 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1625,6 +1625,7 @@ local function compileByGlobal(source) end globalNode = vm.createNode(global) vm.setNode(root._globalBase[name], globalNode, true) + vm.setNode(source, globalNode, true) local sets = global.links[uri].sets or {} local gets = global.links[uri].gets or {} |