Commit a58ce628 authored by limingzhe's avatar limingzhe

fix: debug

parent c138b8a0
......@@ -1109,6 +1109,10 @@ cc.Class({
}
delayCall(0.5, () => {
if (this.isDestroy) {
return;
}
if (this.isDrag) {
isTimeEnd = true;
playContinue();
......@@ -1158,12 +1162,20 @@ cc.Class({
delayCall(0.4, () => {
if (this.isDestroy) {
return;
}
this.showGroupEndAnima();
this.playWordAudio();
this.wrongLetterLeave();
})
delayCall(3, () => {
if (this.isDestroy) {
return;
}
this.showBigStar();
})
}
......@@ -1222,6 +1234,10 @@ cc.Class({
},
checkGameEnd() {
if (this.isDestroy) {
return;
}
this.groupIndex++;
if (!this.data.groupArr[this.groupIndex]) {
......@@ -2536,5 +2552,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