From c737f23b136998ed6b7f190ac361e8b13f5d44a0 Mon Sep 17 00:00:00 2001 From: FajsiEx Date: Thu, 16 Dec 2021 18:17:48 +0100 Subject: [PATCH] * bust lb cache when exiting gameplay --- scripts/songselect/songwheel.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/songselect/songwheel.lua b/scripts/songselect/songwheel.lua index 72e4998..aa12c95 100644 --- a/scripts/songselect/songwheel.lua +++ b/scripts/songselect/songwheel.lua @@ -942,6 +942,9 @@ render = function (deltaTime) end songs_changed = function (withAll) + + irLeaderboardsCache = {} -- Reset LB cache + if not withAll then return end game.SetSkinSetting('_songWheelScrollbarTotal', #songwheel.songs)