Commit 7c1d9126 authored by wjf's avatar wjf

l

parent e32a30b9
...@@ -1149,8 +1149,12 @@ export default class MainScene extends Scene { ...@@ -1149,8 +1149,12 @@ export default class MainScene extends Scene {
var downIndex = index; var downIndex = index;
while (this.emptys.indexOf(downIndex) > -1) { while (this.emptys.indexOf(downIndex) > -1) {
arr.push(downIndex); arr.push(downIndex);
if (this.lattices[downIndex].down != null) {
downIndex = this.lattices[downIndex].down;
} else {
downIndex += Tool.colNum; downIndex += Tool.colNum;
} }
}
var p = Tool.getPositionByIndex(index); var p = Tool.getPositionByIndex(index);
var len = arr.length;//越前面的越上面,y越小 var len = arr.length;//越前面的越上面,y越小
......
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