mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 14:19:02 -06:00
fix a3 cools
This commit is contained in:
parent
33b3ad2889
commit
4243d6b2ba
@ -218,13 +218,8 @@ function MarathonA3Game:updateSectionTimes(old_level, new_level)
|
|||||||
section_70_time = self.frames - self.section_start_time
|
section_70_time = self.frames - self.section_start_time
|
||||||
table.insert(self.secondary_section_times, section_70_time)
|
table.insert(self.secondary_section_times, section_70_time)
|
||||||
|
|
||||||
if section <= 9 and self.section_status[section - 1] == "cool" and
|
if section <= 9 and self.secondary_section_times[section] < cool_cutoffs[section] and
|
||||||
self.secondary_section_times[section] <= self.secondary_section_times[section - 1] + 120 then
|
(section == 1 or self.secondary_section_times[section] <= self.secondary_section_times[section - 1] + 120) then
|
||||||
self.section_cool = true
|
|
||||||
self.coolregret_message = "COOL!!"
|
|
||||||
self.coolregret_timer = 300
|
|
||||||
elseif self.section_status[section - 1] == "cool" then self.section_cool = false
|
|
||||||
elseif section <= 9 and self.secondary_section_times[section] < cool_cutoffs[section] then
|
|
||||||
self.section_cool = true
|
self.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