mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-23 22:49:02 -06:00
2s rule off-by-one
This commit is contained in:
parent
828b888810
commit
f49c1b5d36
@ -232,7 +232,7 @@ function PhantomManiaNXGame:updateSectionTimes(old_level, new_level)
|
|||||||
local old_section = math.floor(old_level / 100)
|
local old_section = math.floor(old_level / 100)
|
||||||
table.insert(self.secondary_section_times, section_time)
|
table.insert(self.secondary_section_times, section_time)
|
||||||
if section_time <= cool_cutoffs[old_section] and (
|
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 )
|
old_section == 0 )
|
||||||
then
|
then
|
||||||
self.last_section_cool = true
|
self.last_section_cool = true
|
||||||
|
Loading…
Reference in New Issue
Block a user