mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 19:29:02 -06:00
Fixed an issue where DS-World wouldn't harddrop
This commit is contained in:
parent
06a8a2ebf7
commit
f3c1cf6e1f
@ -179,11 +179,15 @@ function GameMode:update(inputs, ruleset)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if self.lock_drop and inputs["down"] ~= true then
|
if (self.lock_drop or (
|
||||||
|
not ruleset.are or self:getARE() == 0
|
||||||
|
)) and inputs["down"] ~= true then
|
||||||
self.drop_locked = false
|
self.drop_locked = false
|
||||||
end
|
end
|
||||||
|
|
||||||
if self.lock_hard_drop and inputs["up"] ~= true then
|
if (self.lock_hard_drop or (
|
||||||
|
not ruleset.are or self:getARE() == 0
|
||||||
|
)) and inputs["up"] ~= true then
|
||||||
self.hard_drop_locked = false
|
self.hard_drop_locked = false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user