summaryrefslogtreecommitdiff
path: root/script-beta/vm/getGlobals.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-29 10:53:21 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-29 10:53:21 +0800
commit0b1bbe021805f7ac9bf616ac78f7dc316af05f81 (patch)
treee57ebbd77d2ba48c5c41198123d961fc92c7d1cd /script-beta/vm/getGlobals.lua
parente6bc239f11c140866898bcb3ff04bd424650e5d6 (diff)
downloadlua-language-server-0b1bbe021805f7ac9bf616ac78f7dc316af05f81.zip
修正一个缓存错误
Diffstat (limited to 'script-beta/vm/getGlobals.lua')
-rw-r--r--script-beta/vm/getGlobals.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/getGlobals.lua b/script-beta/vm/getGlobals.lua
index c6651048..2e3cd019 100644
--- a/script-beta/vm/getGlobals.lua
+++ b/script-beta/vm/getGlobals.lua
@@ -75,6 +75,6 @@ function vm.getGlobalSets(name)
cache[#cache+1] = source
end
end
- vm.getCache('getGlobals')[name] = cache
+ vm.getCache('getGlobalDefs')[name] = cache
return cache
end