Merge pull request #69 from Kirby703/patch-11

hotfix cool logic
pull/70/head
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
1 changed files with 2 additions and 2 deletions

View File

@ -353,8 +353,8 @@ function Marathon2020Game:updateSectionTimes(old_level, new_level)
self.section_start_time = self.frames
if (
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
(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)
) then
sectionCool(section)
else