From 23cf20e0799c6a3fc5f7b363b3d173632c030e75 Mon Sep 17 00:00:00 2001 From: Barinade Date: Fri, 5 Aug 2022 23:24:01 -0500 Subject: [PATCH] til death fix regression with banner becoming visible behind preview --- .../BGAnimations/ScreenSelectMusic decorations/wifeTwirl.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/wifeTwirl.lua b/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/wifeTwirl.lua index c28f0c5ca6..5c95046b32 100644 --- a/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/wifeTwirl.lua +++ b/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/wifeTwirl.lua @@ -820,7 +820,6 @@ t[#t + 1] = Def.Sprite { self:finishtweening() if song then local bnpath = GAMESTATE:GetCurrentSong():GetBannerPath() - self:visible(true) if not BannersEnabled() then self:visible(false) elseif not bnpath then @@ -829,7 +828,6 @@ t[#t + 1] = Def.Sprite { self:LoadBackground(bnpath) else local bnpath = SONGMAN:GetSongGroupBannerPath(SCREENMAN:GetTopScreen():GetMusicWheel():GetSelectedSection()) - self:visible(true) if not BannersEnabled() then self:visible(false) elseif not bnpath or bnpath == "" then @@ -843,7 +841,7 @@ t[#t + 1] = Def.Sprite { self:visible(false) end, ChartPreviewOffMessageCommand = function(self) - self:visible(true) + self:visible(BannersEnabled()) end } local enabledC = "#099948"