容错修改

dev_chengFeng
jiaoyangna 2021-04-21 14:31:26 +08:00
parent 13d88c62ac
commit 70b4ebdf83
1 changed files with 3 additions and 1 deletions

View File

@ -447,7 +447,9 @@ function this.StopAction()
for k,v in pairs(this.playerViews) do
v:StopAction()
end
this.moneyEffect.gameObject:SetActive(false)
if this.moneyEffect then
this.moneyEffect.gameObject:SetActive(false)
end
if this.threads then
for k,v in pairs(this.threads) do
coroutine.stop(v)