From e77799c4c0b1e66f59acaa933abba84fe8183766 Mon Sep 17 00:00:00 2001 From: Kyle Humphrey Date: Fri, 25 Mar 2022 00:07:39 -0500 Subject: [PATCH] fix challengewheel --- scripts/songselect/chalwheel.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/songselect/chalwheel.lua b/scripts/songselect/chalwheel.lua index f91f32e..54ecf4d 100644 --- a/scripts/songselect/chalwheel.lua +++ b/scripts/songselect/chalwheel.lua @@ -404,7 +404,8 @@ draw_challenge = function(challenge, x, y, w, h, selected) for i, chart in ipairs(challengeCache[challenge.id]["charts"]) do local ypos = offsetY + paddingY * (i - 1) - DiffRectangle.render(timer, offsetX, ypos, diffIconScale, chart.difficulty, chart.level) + local adjustedDiff = GetDisplayDifficulty(chart.jacketPath, chart.diff) + DiffRectangle.render(timer, offsetX, ypos, diffIconScale, adjustedDiff, chart.level) local _, titleHeight = gfx.LabelSize(chart.title) gfx.TextAlign(gfx.TEXT_ALIGN_CENTER | gfx.TEXT_ALIGN_MIDDLE)