From 8760bf99594594e009bc6aa2bb1816eb02fc7006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 19 Nov 2021 18:05:24 +0800 Subject: fix #805 --- script/core/noder.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'script/core') diff --git a/script/core/noder.lua b/script/core/noder.lua index 371e0200..59c103e8 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) -- cgit v1.2.3