mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-12-22 20:19:02 -06:00
Fixed big mode gravity being twice as big
This commit is contained in:
parent
5d022f9037
commit
9d44d1e771
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user