mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 17:59:01 -06:00
Some demon mode fixes
This commit is contained in:
parent
cca295066c
commit
be59727ca5
@ -167,6 +167,7 @@ function DemonModeGame:updateSectionTimes(old_level, new_level)
|
|||||||
else
|
else
|
||||||
self.level = math.min(new_level, 2500)
|
self.level = math.min(new_level, 2500)
|
||||||
self.skip_failed = true
|
self.skip_failed = true
|
||||||
|
self.grade = self.grade + 1
|
||||||
end
|
end
|
||||||
-- record new section
|
-- record new section
|
||||||
section_time = self.frames - self.section_start_time
|
section_time = self.frames - self.section_start_time
|
||||||
@ -178,6 +179,7 @@ function DemonModeGame:updateSectionTimes(old_level, new_level)
|
|||||||
self.level = 500
|
self.level = 500
|
||||||
self.game_over = true
|
self.game_over = true
|
||||||
end
|
end
|
||||||
|
self.grade = math.min(self.grade + 1, 4)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
self.level = math.min(new_level, 2500)
|
self.level = math.min(new_level, 2500)
|
||||||
|
Loading…
Reference in New Issue
Block a user