Commit 7c1d9126 authored by wjf's avatar wjf

l

parent e32a30b9
......@@ -1149,7 +1149,11 @@ export default class MainScene extends Scene {
var downIndex = index;
while (this.emptys.indexOf(downIndex) > -1) {
arr.push(downIndex);
downIndex += Tool.colNum;
if (this.lattices[downIndex].down != null) {
downIndex = this.lattices[downIndex].down;
} else {
downIndex += Tool.colNum;
}
}
var p = Tool.getPositionByIndex(index);
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