Fixed an issue where DS-World wouldn't harddrop
parent
06a8a2ebf7
commit
f3c1cf6e1f
|
@ -179,11 +179,15 @@ function GameMode:update(inputs, ruleset)
|
|||
return
|
||||
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
|
||||
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
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue