From 26798bbd67fd1fea4cf52bb47a487a426fa0f56d Mon Sep 17 00:00:00 2001 From: Kyle Humphrey Date: Thu, 24 Mar 2022 23:57:00 -0500 Subject: [PATCH] why was this shim even there in the first place --- scripts/components/diff_rectangle.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/components/diff_rectangle.lua b/scripts/components/diff_rectangle.lua index a1b7a84..d1e249d 100644 --- a/scripts/components/diff_rectangle.lua +++ b/scripts/components/diff_rectangle.lua @@ -30,7 +30,7 @@ function render(deltatime, x, y, scale, diff, level) gfx.BeginPath(); gfx.ImageRect(0, 0, 140, 31 , - difficultyLabelImages[diff+1] or + difficultyLabelImages[diff] or difficultyLabelImages[4], 1, 0); @@ -43,7 +43,7 @@ function render(deltatime, x, y, scale, diff, level) gfx.FontSize(22) gfx.Scale(1.2,1); -- Make the diff text more W I D E gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_MIDDLE) - gfx.Text(difficultyLabelTexts[diff+1], 18, 17); + gfx.Text(difficultyLabelTexts[diff], 18, 17); -- 2.40.1