mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 14:09:03 -06:00
dropToBottom no longer resets lock delay
it's already handled by the rulesets anyhow
This commit is contained in:
parent
af02cd3467
commit
15354ce004
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user