aaaaaaaand wrong conditional

This commit is contained in:
Milla 2022-08-12 01:48:27 -07:00 committed by GitHub
parent ad53c46916
commit ca0de46f6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,7 +100,7 @@ function LudicrousSpeed:drawScoringInfo()
love.graphics.printf("piece/sec", text_x, 180, 80, "left") love.graphics.printf("piece/sec", text_x, 180, 80, "left")
love.graphics.printf("REQUIRED PPS", text_x, 240, 120, "left") love.graphics.printf("REQUIRED PPS", text_x, 240, 120, "left")
if self.time_limit < 300 then if self.time_limit < 300 then
if self.time_limit % 4 < 2 or self.time_limit == 0 then if self.time_limit % 4 < 2 and self.time_limit ~= 0 then
love.graphics.setColor(1, 0.3, 0.3, 1) love.graphics.setColor(1, 0.3, 0.3, 1)
end end
love.graphics.printf("SPEED UP!", text_x, 300, 120, "left") love.graphics.printf("SPEED UP!", text_x, 300, 120, "left")