mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-12-22 22:09:01 -06:00
Fixed safelock behavior for hard drop modes
This commit is contained in:
parent
f7f11b0e22
commit
e13278c6a8
@ -34,6 +34,7 @@ function MarathonA2Game:new()
|
||||
}
|
||||
|
||||
self.lock_drop = false
|
||||
self.lock_hard_drop = false
|
||||
self.enable_hold = false
|
||||
self.next_queue_length = 1
|
||||
end
|
||||
@ -151,7 +152,8 @@ function MarathonA2Game:onLineClear(cleared_row_count)
|
||||
if self:qualifiesForMRoll() then self.grade = 32 end
|
||||
self.roll_frames = -150
|
||||
end
|
||||
if self.level >= 900 then self.lock_drop = true end
|
||||
self.lock_drop = self.level >= 900
|
||||
self.lock_hard_drop = self.level >= 900
|
||||
end
|
||||
|
||||
function MarathonA2Game:updateSectionTimes(old_level, new_level)
|
||||
|
@ -27,6 +27,7 @@ function SurvivalA2Game:new()
|
||||
}
|
||||
|
||||
self.lock_drop = true
|
||||
self.lock_hard_drop = true
|
||||
end
|
||||
|
||||
function SurvivalA2Game:getARE()
|
||||
|
@ -29,6 +29,7 @@ function SurvivalA3Game:new()
|
||||
}
|
||||
|
||||
self.lock_drop = true
|
||||
self.lock_hard_drop = true
|
||||
self.enable_hold = true
|
||||
self.next_queue_length = 3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user