diff options
Diffstat (limited to 'script/vm/eachRef.lua')
-rw-r--r-- | script/vm/eachRef.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/vm/eachRef.lua b/script/vm/eachRef.lua index e9229c38..1073ecbe 100644 --- a/script/vm/eachRef.lua +++ b/script/vm/eachRef.lua @@ -32,6 +32,9 @@ function vm.getRefs(source, deep) deep = deep or -999 if guide.isGlobal(source) then local key = guide.getKeyName(source) + if not key then + return {} + end return vm.getGlobals(key) else local cache = vm.getCache('eachRef')[source] |