Commit c6feb6f1 authored by zjz1994's avatar zjz1994

修改消除逻辑

parent c0db02ab
...@@ -3364,7 +3364,8 @@ export default class MainScene extends Scene { ...@@ -3364,7 +3364,8 @@ export default class MainScene extends Scene {
} }
//如果只有步数转化的,不能再进结算, //如果只有步数转化的,不能再进结算,
else { else {
// /** //一次大消除结束
/**
var effectElements = [], elements = []; var effectElements = [], elements = [];
for(var i = Tool.colNum * Tool.rowNum - 1; i >= 0; i--) { for(var i = Tool.colNum * Tool.rowNum - 1; i >= 0; i--) {
var lat = this.lattices[i]; var lat = this.lattices[i];
...@@ -3381,7 +3382,7 @@ export default class MainScene extends Scene { ...@@ -3381,7 +3382,7 @@ export default class MainScene extends Scene {
this.eliminate(); this.eliminate();
return; return;
} }
// */ */
// else{ // else{
// console.log("可以结束"); // console.log("可以结束");
// } // }
......
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