Commit ecbed50a authored by limingzhe's avatar limingzhe

fix: 上报 完成

parent a7231f49
...@@ -160,6 +160,7 @@ cc.Class({ ...@@ -160,6 +160,7 @@ cc.Class({
if (!this.finishPlayed) { if (!this.finishPlayed) {
onHomeworkFinish();
this._armatureDisPlay.playAnimation('begin', 0); this._armatureDisPlay.playAnimation('begin', 0);
this.finishAudioID = cc.audioEngine.playMusic(this.finishAudioClip, false, 1); this.finishAudioID = cc.audioEngine.playMusic(this.finishAudioClip, false, 1);
cc.audioEngine.setFinishCallback(this.finishAudioID, () => { cc.audioEngine.setFinishCallback(this.finishAudioID, () => {
......
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