summaryrefslogtreecommitdiff
path: root/script/vm/global-manager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/global-manager.lua')
-rw-r--r--script/vm/global-manager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/global-manager.lua b/script/vm/global-manager.lua
index 438d3d72..bda7b744 100644
--- a/script/vm/global-manager.lua
+++ b/script/vm/global-manager.lua
@@ -162,7 +162,7 @@ function m.declareGlobal(cate, name, uri)
local key = cate .. '|' .. name
m.globalSubs[uri][key] = true
if not m.globals[key] then
- m.globals[key] = globalBuilder(name)
+ m.globals[key] = globalBuilder(name, cate)
end
return m.globals[key]
end