diff options
Diffstat (limited to 'script/vm/global-manager.lua')
-rw-r--r-- | script/vm/global-manager.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/script/vm/global-manager.lua b/script/vm/global-manager.lua index 3f48197f..9752621e 100644 --- a/script/vm/global-manager.lua +++ b/script/vm/global-manager.lua @@ -191,9 +191,7 @@ local compilerGlobalSwitch = util.switch() local name = source[1] local type = m.declareGlobal('type', name, uri) type:addGet(uri, source) - if source.signs then - source._globalNode = source - else + if not source.signs then source._globalNode = type end end) |