Commit 220e494a authored by limingzhe's avatar limingzhe

fix: debug

parent 41b5b3bc
......@@ -949,12 +949,18 @@ cc.Class({
delayCall(0.4, () => {
if (this.isDestroy) {
return;
}
this.showGroupEndAnima();
this.playWordAudio();
this.wrongLetterLeave();
})
delayCall(1, () => {
if (this.isDestroy) {
return;
}
this.showBigStar();
})
}
......@@ -1009,6 +1015,9 @@ cc.Class({
},
checkGameEnd() {
if (this.isDestroy) {
return;
}
this.groupIndex++;
if (!this.data.groupArr[this.groupIndex]) {
......@@ -2323,5 +2332,8 @@ cc.Class({
});
},
onDestroy() {
this.isDestroy = true;
}
});
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