diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-29 10:53:21 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-29 10:53:21 +0800 |
commit | 0b1bbe021805f7ac9bf616ac78f7dc316af05f81 (patch) | |
tree | e57ebbd77d2ba48c5c41198123d961fc92c7d1cd /script-beta/vm/getGlobals.lua | |
parent | e6bc239f11c140866898bcb3ff04bd424650e5d6 (diff) | |
download | lua-language-server-0b1bbe021805f7ac9bf616ac78f7dc316af05f81.zip |
修正一个缓存错误
Diffstat (limited to 'script-beta/vm/getGlobals.lua')
-rw-r--r-- | script-beta/vm/getGlobals.lua | 2 |
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 |