Commit 21f4e3eb authored by 范雪寒's avatar 范雪寒

fix: 切换bundle时报错

parent 5d148fca
......@@ -134,8 +134,10 @@ cc.Class({
cc.audioEngine.stop(this.audioId)
this.audioId = null
}
this.tipsAnim.stop()
this.tipsAnim.node.active = false
if (this.tipsAnim) {
this.tipsAnim.stop()
this.tipsAnim.node.active = false
}
cc.systemEvent.off('stopMusic', this.onStopAudio, this)
},
/** 音频id */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment