【大闹天宫】无法挑战修改

dev_chengFeng
ZhangBiao 2021-12-02 10:35:06 +08:00
parent e7cc7ee41e
commit cf971541e1
2 changed files with 8 additions and 4 deletions

View File

@ -121,8 +121,10 @@ function this:OnClose()
fun()
fun = nil
end
poolManager:UnLoadLive(this.LiveName,this.LiveGO )
this.LiveName= nil
if this.LiveName then
poolManager:UnLoadLive(this.LiveName,this.LiveGO )
this.LiveName= nil
end
end
function this:OnDestroy()

View File

@ -79,8 +79,10 @@ function this:OnClose()
fun()
fun = nil
end
poolManager:UnLoadLive(this.LiveName,this.LiveGO )
this.LiveName= nil
if this.LiveName then
poolManager:UnLoadLive(this.LiveName,this.LiveGO )
this.LiveName= nil
end
end
function this:OnDestroy()