diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-01-16 18:16:08 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-01-16 18:16:08 +0800 |
commit | dbe11f8bcfd51d98ab42e167f6be1c062c80264c (patch) | |
tree | d19dd989c10b36e97a1e74ecff7a3eecb36389b6 /script/vm/tracer.lua | |
parent | abb60bb6d33e3fe02648cb1beba8203b11a8d8fb (diff) | |
download | lua-language-server-dbe11f8bcfd51d98ab42e167f6be1c062c80264c.zip |
fix runtime error
Diffstat (limited to 'script/vm/tracer.lua')
-rw-r--r-- | script/vm/tracer.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/vm/tracer.lua b/script/vm/tracer.lua index de787625..823029f0 100644 --- a/script/vm/tracer.lua +++ b/script/vm/tracer.lua @@ -70,6 +70,9 @@ function mt:collectCare(obj) if obj == self.main then return end + if not obj then + return + end self.careMap[obj] = true if self.fastCalc then |