Merge pull request #69 from Kirby703/patch-11

hotfix cool logic
This commit is contained in:
Ishaan Bhardwaj 2023-07-07 17:19:24 -04:00 committed by GitHub
commit a6b8abff6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,8 +353,8 @@ function Marathon2020Game:updateSectionTimes(old_level, new_level)
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.secondary_section_times[section] < cool_cutoffs[self.delay_level]) and
section == 1 or self.secondary_section_times[section] <= self.secondary_section_times[section - 1] + 120 (section == 1 or self.secondary_section_times[section] <= self.secondary_section_times[section - 1] + 120)
) then ) then
sectionCool(section) sectionCool(section)
else else