Compare commits

...

2 Commits

Author SHA1 Message Date
Ishaan Bhardwaj 60c35a1e51
Merge pull request #19 from Kirby703/patch-5
2s rule off-by-one
2023-08-28 01:47:35 -04:00
Kirby703 f49c1b5d36
2s rule off-by-one 2023-08-28 01:29:30 -04:00
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ function PhantomManiaNXGame:updateSectionTimes(old_level, new_level)
local old_section = math.floor(old_level / 100)
table.insert(self.secondary_section_times, section_time)
if section_time <= cool_cutoffs[old_section] and (
section_time < (self.secondary_section_times[old_section] + 120) or
section_time <= (self.secondary_section_times[old_section] + 120) or
old_section == 0 )
then
self.last_section_cool = true