diff --git a/Themes/default/Graphics/ScreenGameplay DeltaSeconds.lua b/Themes/default/Graphics/ScreenGameplay DeltaSeconds.lua index a34e7365b0..9bdf5d30ec 100644 --- a/Themes/default/Graphics/ScreenGameplay DeltaSeconds.lua +++ b/Themes/default/Graphics/ScreenGameplay DeltaSeconds.lua @@ -6,10 +6,11 @@ local t = LoadFont("ScreenGameplay","RemainingTime") .. { Text=""; JudgmentMessageCommand=function(self,params) if params.Player == PlayerNumber then - if params.TapNoteScore then + if params.TapNoteScore then + local tns = ToEnumShortString(params.TapNoteScore) self:playcommand( "GainSeconds" ); - self:playcommand( ToEnumShortString( params.TapNoteScore ) ); - self:settextf( "%+1.1fs", PREFSMAN:GetPreference( string.format("TimeMeterSecondsChange%s", ToEnumShortString( params.TapNoteScore ) ) ) ); + self:playcommand( tns ); + self:settextf( "%+1.1fs", PREFSMAN:GetPreference( string.format("TimeMeterSecondsChange%s", tns) ) ); else return end diff --git a/Themes/default/metrics.ini b/Themes/default/metrics.ini index 5a36547b0b..7afc1ec10f 100644 --- a/Themes/default/metrics.ini +++ b/Themes/default/metrics.ini @@ -325,10 +325,10 @@ TextOffCommand= FrameOnCommand=visible,false;spin # TimeRemainingY=80 -TimeRemainingOnCommand=zoom,1;shadowlength,1;settext,"Hi!"; +TimeRemainingOnCommand=zoom,1;shadowlength,1; # -DeltaSecondsOnCommand=y,80;settext,Hi;spin; -DeltaSecondsGainLifeCommand=zoom,0.5;settext,"Hi!"; +DeltaSecondsOnCommand=y,80;spin; +DeltaSecondsGainLifeCommand=zoom,0.5; [ScoreDisplayPercentage Percent] PercentP1OnCommand=shadowlength,1;diffuse,PlayerColor(PLAYER_1);diffusetopedge,BoostColor(PlayerColor(PLAYER_1),1.5)