Fixed a minor bug in the scope of SA2's line

This commit is contained in:
Ishaan Bhardwaj 2020-11-27 23:21:59 -05:00
parent 169a4e4d2f
commit 957802a78e

View File

@ -161,6 +161,7 @@ function SurvivalA2Game:drawScoringInfo()
if self.roll_frames > 2968 then love.graphics.setColor(1, 0.5, 0, 1) if self.roll_frames > 2968 then love.graphics.setColor(1, 0.5, 0, 1)
elseif self.clear then love.graphics.setColor(0, 1, 0, 1) end elseif self.clear then love.graphics.setColor(0, 1, 0, 1) end
if self:getLetterGrade() ~= "" then love.graphics.printf(self:getLetterGrade(), text_x, 140, 90, "left") end if self:getLetterGrade() ~= "" then love.graphics.printf(self:getLetterGrade(), text_x, 140, 90, "left") end
love.graphics.setColor(1, 1, 1, 1)
love.graphics.printf(self.level, text_x, 340, 40, "right") love.graphics.printf(self.level, text_x, 340, 40, "right")
love.graphics.printf(self:getSectionEndLevel(), text_x, 370, 40, "right") love.graphics.printf(self:getSectionEndLevel(), text_x, 370, 40, "right")
if sg >= 5 then if sg >= 5 then