summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
Diffstat (limited to 'script/core')
-rw-r--r--script/core/noder.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/core/noder.lua b/script/core/noder.lua
index 0fc83905..374d2c9b 100644
--- a/script/core/noder.lua
+++ b/script/core/noder.lua
@@ -1036,7 +1036,8 @@ compileNodeMap = util.switch()
if src.type == 'local'
or src.type == 'tablefield'
or src.type == 'tableindex'
- or src.type == 'setglobal' then
+ or src.type == 'setglobal'
+ or guide.isGlobal(src) then
if src.parent.type ~= 'funcargs'
and not src.dummy then
pushForward(noders, getID(src), id)