diff --git a/scripts/songselect/songwheel.lua b/scripts/songselect/songwheel.lua index aa12c95..1991fec 100644 --- a/scripts/songselect/songwheel.lua +++ b/scripts/songselect/songwheel.lua @@ -544,6 +544,10 @@ function drawLocalLeaderboard(diff) end function drawIrLeaderboard() + if not IRData.Active then + return; + end + gfx.LoadSkinFont('Digital-Serial-Bold.ttf') gfx.FontSize(26) @@ -670,6 +674,10 @@ function drawSearch() end function refreshIrLeaderboard(deltaTime) + if not IRData.Active then + return; + end + if irRequestStatus ~= 1 then -- Only continue if the leaderboard is requesteded, but not loading or loaded. return end