diff --git a/Themes/_fallback/BGAnimations/ScreenProfileSave overlay.lua b/Themes/_fallback/BGAnimations/ScreenProfileSave overlay.lua index c20657b3e6..12cba4957c 100644 --- a/Themes/_fallback/BGAnimations/ScreenProfileSave overlay.lua +++ b/Themes/_fallback/BGAnimations/ScreenProfileSave overlay.lua @@ -1,33 +1,20 @@ -local x = - Def.ActorFrame { +-- this used to be responsible for showing "Saving Profiles" after Evaluation, but we moved saving to before Evaluation +-- now it is responsible for clearing the chart leaderboard cache +return Def.ActorFrame { Def.Quad { InitCommand = function(self) self:Center():zoomto(SCREEN_WIDTH, 80):diffuse(color("0,0,0,0.5")) - end + end, }, - LoadFont("Common Normal") .. - { - Text = ScreenString("Saving Profiles"), - InitCommand = function(self) - self:Center():diffuse(color("1,1,1,1")):shadowlength(1) - end, - OffCommand = function(self) - self:linear(0.15):diffusealpha(0) - end - } -} - -x[#x + 1] = Def.Actor { - BeginCommand = function(self) - if SCREENMAN:GetTopScreen():HaveProfileToSave() then - self:sleep(1) - end - self:queuecommand("Load") - end, - LoadCommand = function() - SCREENMAN:GetTopScreen():Continue() - end -} - -return x + BeginCommand = function(self) + if SCREENMAN:GetTopScreen():HaveProfileToSave() then + self:sleep(1) + end + self:queuecommand("Load") + end, + LoadCommand = function() + SCREENMAN:GetTopScreen():Continue() + end, + }, +} \ No newline at end of file