Commit 86038f27 authored by wildfirecode's avatar wildfirecode

Merge branch 'dev' of gitlab2.dui88.com:wanghongyuan/xiaoxiaole into dev

parents 01046976 a920eed1
...@@ -729,7 +729,7 @@ export default class MainScene extends Scene { ...@@ -729,7 +729,7 @@ export default class MainScene extends Scene {
this.lattices[festivalIndex].element.visible = false; this.lattices[festivalIndex].element.visible = false;
ani.play(p, () => { ani.play(p, () => {
this.lattices[festivalIndex].element.visible = true; this.lattices[festivalIndex].element.visible = true;
RectsWaveAni(this.lattices,this.map) RectsWaveAni(this.lattices, this.map)
//检查三消 //检查三消
if (this.threeMatch()) { if (this.threeMatch()) {
this.eliminate(); this.eliminate();
...@@ -955,7 +955,7 @@ export default class MainScene extends Scene { ...@@ -955,7 +955,7 @@ export default class MainScene extends Scene {
this.propGuide.once(egret.TouchEvent.TOUCH_TAP, () => { this.propGuide.once(egret.TouchEvent.TOUCH_TAP, () => {
//还原事件 //还原事件
this.addEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this); this.addEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this);
this.removeChild(this.stepCircle) if (this.stepCircle.parent) this.removeChild(this.stepCircle)
}, this); }, this);
} }
} }
......
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