summaryrefslogtreecommitdiff
path: root/script/vm/tracer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/tracer.lua')
-rw-r--r--script/vm/tracer.lua3
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