From 15354ce004b4169ca5fd22caea1132406cff5114 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Thu, 11 Feb 2021 21:20:23 -0500 Subject: [PATCH] dropToBottom no longer resets lock delay it's already handled by the rulesets anyhow --- tetris/components/piece.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tetris/components/piece.lua b/tetris/components/piece.lua index 3b6b34a..4d1b414 100644 --- a/tetris/components/piece.lua +++ b/tetris/components/piece.lua @@ -104,9 +104,8 @@ function Piece:dropToBottom(grid) self:dropSquares(math.huge, grid) self.gravity = 0 if self.position.y > piece_y then - -- if it got dropped any, also reset lock delay if self.ghost == false then playSE("bottom") end - self.lock_delay = 0 + -- self.lock_delay = 0 end return self end