dropToBottom no longer resets lock delay

it's already handled by the rulesets anyhow
This commit is contained in:
Ishaan Bhardwaj 2021-02-11 21:20:23 -05:00
parent af02cd3467
commit 15354ce004

View File

@ -104,9 +104,8 @@ function Piece:dropToBottom(grid)
self:dropSquares(math.huge, grid) self:dropSquares(math.huge, grid)
self.gravity = 0 self.gravity = 0
if self.position.y > piece_y then if self.position.y > piece_y then
-- if it got dropped any, also reset lock delay
if self.ghost == false then playSE("bottom") end if self.ghost == false then playSE("bottom") end
self.lock_delay = 0 -- self.lock_delay = 0
end end
return self return self
end end