Fix I's ghost piece in ACE modes

This commit is contained in:
Ishaan Bhardwaj 2020-10-07 15:17:56 -04:00 committed by GitHub
parent 293b7398a2
commit b7ef7d1976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ end
function Piece:dropToBottom(grid) function Piece:dropToBottom(grid)
local piece_y = self.position.y local piece_y = self.position.y
self:dropSquares(20, grid) self:dropSquares(24, 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 it got dropped any, also reset lock delay