Fixed the last of the hard drop safelocks...

pull/13/head
Ishaan Bhardwaj 2020-11-10 23:13:25 -05:00
parent dc09dabacb
commit 189feb1802
3 changed files with 5 additions and 1 deletions

View File

@ -27,6 +27,7 @@ function MarathonA2Game:new()
self.randomizer = History6RollsRandomizer()
self.lock_drop = false
self.lock_hard_drop = false
self.enable_hold = false
self.next_queue_length = 1
end
@ -124,7 +125,8 @@ function MarathonA2Game:onLineClear(cleared_row_count)
self.grid:clear()
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:updateScore(level, drop_bonus, cleared_lines)

View File

@ -24,6 +24,7 @@ function MarathonAX4Game:new()
self.section_clear = false
self.lock_drop = true
self.lock_hard_drop = true
self.enable_hold = true
self.next_queue_length = 3
end

View File

@ -27,6 +27,7 @@ function Survival2020Game:new()
self.randomizer = History6RollsRandomizer()
self.lock_drop = true
self.lock_hard_drop = true
self.enable_hold = true
self.next_queue_length = 3
end