Fixed safelock behavior for hard drop modes

pull/13/head
Ishaan Bhardwaj 2020-11-10 22:34:48 -05:00
parent f7f11b0e22
commit e13278c6a8
3 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -27,6 +27,7 @@ function SurvivalA2Game:new()
}
self.lock_drop = true
self.lock_hard_drop = true
end
function SurvivalA2Game:getARE()

View File

@ -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