mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 14:19:02 -06:00
Small changes.
This commit is contained in:
parent
10833f2ec1
commit
4d2868b7b6
@ -107,7 +107,7 @@ function IntervalTrainingGame:updateSectionTimes(old_level, new_level)
|
||||
end
|
||||
end
|
||||
|
||||
function IntervalTrainingGame:drawGrid(ruleset)
|
||||
function IntervalTrainingGame:drawGrid()
|
||||
self.grid:draw()
|
||||
end
|
||||
|
||||
|
@ -218,7 +218,7 @@ function MarathonA3Game:updateSectionTimes(old_level, new_level)
|
||||
else
|
||||
table.insert(self.section_status, "none")
|
||||
end
|
||||
elseif section <= 9 and old_level % 100 < 70 and new_level % 100 >= 70 then
|
||||
elseif old_level % 100 < 70 and new_level % 100 >= 70 then
|
||||
-- record section 70 time
|
||||
section_70_time = self.frames - self.section_start_time
|
||||
table.insert(self.section_70_times, section_70_time)
|
||||
@ -431,7 +431,7 @@ function MarathonA3Game:drawScoringInfo()
|
||||
current_x = section_70_x
|
||||
end
|
||||
|
||||
love.graphics.printf(formatTime(self.frames - self.section_start_time), current_x, 40 + 20 * current_section, 90, "left")
|
||||
if not self.clear then love.graphics.printf(formatTime(self.frames - self.section_start_time), current_x, 40 + 20 * current_section, 90, "left") end
|
||||
|
||||
if(self.coolregret_timer > 0) then
|
||||
love.graphics.printf(self.coolregret_message, 64, 400, 160, "center")
|
||||
|
Loading…
Reference in New Issue
Block a user