Commit 6ac6d481 authored by zjz1994's avatar zjz1994

代码暂存

parent e112bb69
......@@ -2662,6 +2662,9 @@ export default class MainScene extends Scene {
* 炮台发射完毕,开始炮台消除
*/
callBackFireCanno(canno:Element){
if(this.readyCannoArr.length==1){
this.eliminate();
}
var cannoidx = canno.index;
for(var i=0;i<this.readyCannoArr.length;i++){
var ireadycannoidx = this.cannoArr[this.readyCannoArr[i]].idx;
......@@ -2670,9 +2673,6 @@ export default class MainScene extends Scene {
break;
}
}
if(this.readyCannoArr.length==0){
this.eliminate();
}
canno.resetCannoStat();
}
checkAllBlock() {
......
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