mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-22 18:29:02 -06:00
Compare commits
2 Commits
88f847bf88
...
7d4cefda1d
Author | SHA1 | Date | |
---|---|---|---|
7d4cefda1d | |||
|
ab698782bf |
@ -220,15 +220,10 @@ function PhantomManiaNXGame:updateSectionTimes(old_level, new_level)
|
|||||||
elseif old_level % 100 < 70 and new_level % 100 >= 70 then
|
elseif old_level % 100 < 70 and new_level % 100 >= 70 then
|
||||||
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 (
|
if section_time <= cool_cutoffs[old_section] and (
|
||||||
((
|
section_time < (self.secondary_section_times[old_section] + 120) or
|
||||||
self.last_section_cool and
|
old_section == 0 )
|
||||||
section_time < (
|
then
|
||||||
self.secondary_section_times[old_section] + 120
|
|
||||||
)
|
|
||||||
) or not self.last_section_cool) and
|
|
||||||
section_time <= cool_cutoffs[old_section]
|
|
||||||
) then
|
|
||||||
self.last_section_cool = true
|
self.last_section_cool = true
|
||||||
self.coolregret_message = "COOL!!"
|
self.coolregret_message = "COOL!!"
|
||||||
self.coolregret_timer = 300
|
self.coolregret_timer = 300
|
||||||
|
Loading…
Reference in New Issue
Block a user