修复向玩家场地里塞入垃圾行时如果不存在当前方块会报错
This commit is contained in:
@@ -418,8 +418,10 @@ function Player:pushLineList(L,mir)--Push some lines to field
|
|||||||
ins(self.visTime,1,FREEROW.new(20))
|
ins(self.visTime,1,FREEROW.new(20))
|
||||||
end
|
end
|
||||||
self.fieldBeneath=self.fieldBeneath+30*l
|
self.fieldBeneath=self.fieldBeneath+30*l
|
||||||
self.curY=self.curY+l
|
if self.cur then
|
||||||
self.ghoY=self.ghoY+l
|
self.curY=self.curY+l
|
||||||
|
self.ghoY=self.ghoY+l
|
||||||
|
end
|
||||||
self:freshBlock('push')
|
self:freshBlock('push')
|
||||||
end
|
end
|
||||||
function Player:pushNextList(L,mir)--Push some nexts to nextQueue
|
function Player:pushNextList(L,mir)--Push some nexts to nextQueue
|
||||||
|
|||||||
Reference in New Issue
Block a user