健壮性
This commit is contained in:
parent
1cebb9f5aa
commit
0ba73d34ed
@ -33,10 +33,12 @@ function BattleResultUI:onClose()
|
|||||||
end
|
end
|
||||||
if self.animRewards then
|
if self.animRewards then
|
||||||
for idx, anim in pairs(self.animRewards) do
|
for idx, anim in pairs(self.animRewards) do
|
||||||
|
if anim then
|
||||||
anim:Kill()
|
anim:Kill()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
function BattleResultUI:onLoadRootComplete()
|
function BattleResultUI:onLoadRootComplete()
|
||||||
self:_display()
|
self:_display()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user