hotfix cool logic

This commit is contained in:
Kirby703 2023-07-07 17:10:24 -04:00 committed by GitHub
parent 71c9147a2c
commit bdc317c3c5
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
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