From 36c568feafe54dd9d5fca4d666217a1e2efcc5c9 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Fri, 16 Oct 2020 21:35:30 -0400 Subject: [PATCH] demon mode grade display fixed --- tetris/modes/demon_mode.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tetris/modes/demon_mode.lua b/tetris/modes/demon_mode.lua index 1833a8b..bcb1c73 100644 --- a/tetris/modes/demon_mode.lua +++ b/tetris/modes/demon_mode.lua @@ -229,7 +229,7 @@ function DemonModeGame:drawScoringInfo() strTrueValues(self.prev_inputs) ) love.graphics.printf("NEXT", 64, 40, 40, "left") - love.graphics.printf("GRADE", 240, 120, 40, "left") + if self.grade ~= 0 then love.graphics.printf("GRADE", 240, 120, 40, "left") end love.graphics.printf("SCORE", 240, 200, 40, "left") love.graphics.printf("LEVEL", 240, 320, 40, "left")