From 1e870522683a2a119af68a8c982e1dbbec3ec4f5 Mon Sep 17 00:00:00 2001 From: Barinade Date: Fri, 17 Jul 2020 22:39:57 -0500 Subject: [PATCH] fix bare frames rate changing behavior with MSD display --- .../ScreenSelectMusic decorations/songinfo.lua | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Themes/bare-frames/BGAnimations/ScreenSelectMusic decorations/songinfo.lua b/Themes/bare-frames/BGAnimations/ScreenSelectMusic decorations/songinfo.lua index b387f2f285..887826bedc 100644 --- a/Themes/bare-frames/BGAnimations/ScreenSelectMusic decorations/songinfo.lua +++ b/Themes/bare-frames/BGAnimations/ScreenSelectMusic decorations/songinfo.lua @@ -41,9 +41,7 @@ t[#t+1] = Def.ActorFrame { self:x(wheelX + arbitraryWheelXThing + space + capWideScale(get43size(365),365)-50) self:y(20) end, - CurrentStepsP1ChangedMessageCommand = function(self) - steps = GAMESTATE:GetCurrentSteps() - song = GAMESTATE:GetCurrentSong() + SetMeterCommand = function(self) if steps then meter = {} for i = 1, #ms.SkillSets do @@ -51,6 +49,15 @@ t[#t+1] = Def.ActorFrame { meter[i] = m end end + end, + CurrentStepsP1ChangedMessageCommand = function(self) + steps = GAMESTATE:GetCurrentSteps() + song = GAMESTATE:GetCurrentSong() + self:playcommand("SetMeter") + self:playcommand("SetStuff") + end, + CurrentRateChangedMessageCommand = function(self) + self:playcommand("SetMeter") self:playcommand("SetStuff") end,