diff options
Diffstat (limited to 'script-beta/vm/getGlobals.lua')
-rw-r--r-- | script-beta/vm/getGlobals.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script-beta/vm/getGlobals.lua b/script-beta/vm/getGlobals.lua index 8ac63090..adc6c9fc 100644 --- a/script-beta/vm/getGlobals.lua +++ b/script-beta/vm/getGlobals.lua @@ -35,11 +35,11 @@ local function getGlobals(name) end function vm.getGlobals(name) - local cache = vm.cache.getGlobals[name] + local cache = vm.getCache('getGlobals')[name] if cache ~= nil then return cache end cache = getGlobals(name) - vm.cache.getGlobals[name] = cache + vm.getCache('getGlobals')[name] = cache return cache end |