diff options
Diffstat (limited to 'script-beta/vm/eachField.lua')
-rw-r--r-- | script-beta/vm/eachField.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/eachField.lua b/script-beta/vm/eachField.lua index 9075bf36..b644cbd9 100644 --- a/script-beta/vm/eachField.lua +++ b/script-beta/vm/eachField.lua @@ -54,7 +54,7 @@ function vm.getFields(source, deep) or eachField(source, deep) vm.getCache('eachFieldOfGlobal')[name] = cache return cache - elseif deep then + elseif not deep then return eachField(source, deep) else local cache = vm.getCache('eachField')[source] |