Fixed big mode gravity being twice as big

pull/13/head
Ishaan Bhardwaj 2021-01-10 22:01:25 -05:00
parent 5d022f9037
commit 9d44d1e771
1 changed files with 5 additions and 0 deletions

View File

@ -172,6 +172,11 @@ function Ruleset:dropPiece(
inputs, piece, grid, gravity, drop_speed, drop_locked, hard_drop_locked,
hard_drop_enabled, additive_gravity
)
if piece.big then
gravity = gravity / 2
drop_speed = drop_speed / 2
end
local y = piece.position.y
if inputs["down"] == true and drop_locked == false then
if additive_gravity then