Changed the 2-second rule to give the cool at exactly 2 seconds.

This commit is contained in:
Joe Z 2021-07-18 21:23:50 -04:00
parent 769b5043e3
commit c434a3406b
2 changed files with 2 additions and 2 deletions

View File

@ -354,7 +354,7 @@ function Marathon2020Game:updateSectionTimes(old_level, new_level)
if (
self.section_status[section - 1] == "cool" and
self.secondary_section_times[section] < self.secondary_section_times[section - 1] + 120 and
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)

View File

@ -219,7 +219,7 @@ function MarathonA3Game:updateSectionTimes(old_level, new_level)
table.insert(self.secondary_section_times, section_70_time)
if section <= 9 and self.section_status[section - 1] == "cool" and
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 then
self.section_cool = true
self.coolregret_message = "COOL!!"
self.coolregret_timer = 300