diff options
Diffstat (limited to 'script-beta/vm/eachDef.lua')
-rw-r--r-- | script-beta/vm/eachDef.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/eachDef.lua b/script-beta/vm/eachDef.lua index 8b3c6a9b..46d1887e 100644 --- a/script-beta/vm/eachDef.lua +++ b/script-beta/vm/eachDef.lua @@ -33,7 +33,7 @@ function vm.getDefs(source, deep) or eachDef(source, deep) vm.getCache('eachDefOfGlobal')[name] = cache return cache - elseif deep then + elseif not deep then return eachDef(source, deep) else local cache = vm.getCache('eachDef')[source] |