diff options
Diffstat (limited to 'script-beta/vm/eachRef.lua')
-rw-r--r-- | script-beta/vm/eachRef.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script-beta/vm/eachRef.lua b/script-beta/vm/eachRef.lua index 972efc2d..4f653e00 100644 --- a/script-beta/vm/eachRef.lua +++ b/script-beta/vm/eachRef.lua @@ -406,6 +406,9 @@ local function ofGlobal(source, callback) end local function ofField(source, callback) + if not source then + return + end local parent = source.parent local key = guide.getKeyName(source) if parent.type == 'tablefield' |