修复向玩家场地里塞入垃圾行时如果不存在当前方块会报错

This commit is contained in:
MrZ626
2021-11-18 03:54:42 +08:00
parent 1ed52a84b0
commit e7d9703fcc

View File

@@ -418,8 +418,10 @@ function Player:pushLineList(L,mir)--Push some lines to field
ins(self.visTime,1,FREEROW.new(20))
end
self.fieldBeneath=self.fieldBeneath+30*l
self.curY=self.curY+l
self.ghoY=self.ghoY+l
if self.cur then
self.curY=self.curY+l
self.ghoY=self.ghoY+l
end
self:freshBlock('push')
end
function Player:pushNextList(L,mir)--Push some nexts to nextQueue