Skip to content

Commit dbe11f8

Browse files
committed
fix runtime error
1 parent abb60bb commit dbe11f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: script/vm/tracer.lua

+3
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ function mt:collectCare(obj)
7070
if obj == self.main then
7171
return
7272
end
73+
if not obj then
74+
return
75+
end
7376
self.careMap[obj] = true
7477

7578
if self.fastCalc then

0 commit comments

Comments
 (0)