Compare commits

..

No commits in common. "7d4cefda1d970673643428301bd2d84a9411dab6" and "88f847bf88b59e5b297ab673f46111b1157bb21f" have entirely different histories.

View File

@ -220,10 +220,15 @@ function PhantomManiaNXGame:updateSectionTimes(old_level, new_level)
elseif old_level % 100 < 70 and new_level % 100 >= 70 then
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
old_section == 0 )
then
if (
((
self.last_section_cool and
section_time < (
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.coolregret_message = "COOL!!"
self.coolregret_timer = 300
@ -365,4 +370,4 @@ function PhantomManiaNXGame:drawScoringInfo()
end
end
return PhantomManiaNXGame
return PhantomManiaNXGame