mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 02:09:02 -06:00
fix 2s rule for cools
This commit is contained in:
parent
92d67968f5
commit
703ce66c42
@ -352,18 +352,9 @@ function Marathon2020Game:updateSectionTimes(old_level, new_level)
|
|||||||
table.insert(self.section_times, section_time)
|
table.insert(self.section_times, section_time)
|
||||||
self.section_start_time = self.frames
|
self.section_start_time = self.frames
|
||||||
|
|
||||||
if (
|
if self.secondary_section_times[section] < cool_cutoffs[self.delay_level] and
|
||||||
self.section_status[section - 1] == "cool" and
|
(section == 1 or self.secondary_section_times[section] <= self.secondary_section_times[section - 1] + 120) then
|
||||||
self.secondary_section_times[section] <= self.secondary_section_times[section - 1] + 120 and
|
|
||||||
self.secondary_section_times[section] < cool_cutoffs[self.delay_level]
|
|
||||||
) then
|
|
||||||
sectionCool(section)
|
sectionCool(section)
|
||||||
elseif self.section_status[section - 1] == "cool" then
|
|
||||||
table.insert(self.section_status, "none")
|
|
||||||
elseif self.secondary_section_times[section] < cool_cutoffs[self.delay_level] then
|
|
||||||
sectionCool(section)
|
|
||||||
else
|
|
||||||
table.insert(self.section_status, "none")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if section > 5 then
|
if section > 5 then
|
||||||
|
Loading…
Reference in New Issue
Block a user