Fixed StepsDisplay commands to check for CustomDifficulty being an empty string.
This commit is contained in:
@@ -1916,7 +1916,7 @@ LoadEdits=true
|
||||
Fallback="ScreenWithMenuElements"
|
||||
Class="ScreenSelectProfile"
|
||||
#
|
||||
ScreenOnCommand=%function(self) self:lockinput(3); end;
|
||||
ScreenOnCommand=%function(self) self:lockinput(1); end;
|
||||
#
|
||||
NextScreen=Branch.AfterSelectProfile()
|
||||
PrevScreen=Branch.TitleMenu()
|
||||
@@ -2191,13 +2191,13 @@ FrameX=0
|
||||
FrameY=0
|
||||
FrameOnCommand=
|
||||
FrameLoadCommand=%function(self,param) local bFlip = param.PlayerState and param.PlayerState:GetPlayerNumber() ~= PLAYER_1; self:zoomx(bFlip and -1 or 1); end
|
||||
FrameSetCommand=%function(self,param) if param.CustomDifficulty then self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)) end end
|
||||
FrameSetCommand=%function(self,param) if param.CustomDifficulty and param.CustomDifficulty ~= "" then self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)) end end
|
||||
NumTicks=10
|
||||
MaxTicks=14
|
||||
TicksX=0
|
||||
TicksY=0
|
||||
TicksOnCommand=shadowlength,0;
|
||||
TicksSetCommand=%function(self,param) self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)) if param.Meter > 9 then self:glowshift() else self:stopeffect() end end
|
||||
TicksSetCommand=%function(self,param) if param.CustomDifficulty and param.CustomDifficulty ~= "" then self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)) if param.Meter > 9 then self:glowshift() else self:stopeffect() end end end
|
||||
ShowTicks=false
|
||||
ShowMeter=true
|
||||
MeterFormatString="%i"
|
||||
@@ -2205,12 +2205,12 @@ ZeroMeterString="?"
|
||||
MeterX=30
|
||||
MeterY=0
|
||||
MeterOnCommand=shadowlength,0
|
||||
MeterSetCommand=%function(self,param) if param.CustomDifficulty then self:diffuse(CustomDifficultyToLightColor(param.CustomDifficulty)); self:strokecolor(CustomDifficultyToDarkColor(param.CustomDifficulty)); end end
|
||||
MeterSetCommand=%function(self,param) if param.CustomDifficulty and param.CustomDifficulty ~= "" then self:diffuse(CustomDifficultyToLightColor(param.CustomDifficulty)); self:strokecolor(CustomDifficultyToDarkColor(param.CustomDifficulty)); end end
|
||||
ShowDescription=true
|
||||
DescriptionX=-10
|
||||
DescriptionY=0
|
||||
DescriptionOnCommand=shadowlength,0;uppercase,true;
|
||||
DescriptionSetCommand=%function(self,param) if param.CustomDifficulty then self:diffuse(CustomDifficultyToLightColor(param.CustomDifficulty)); self:strokecolor(CustomDifficultyToDarkColor(param.CustomDifficulty)); end end
|
||||
DescriptionSetCommand=%function(self,param) if param.CustomDifficulty and param.CustomDifficulty ~= "" then self:diffuse(CustomDifficultyToLightColor(param.CustomDifficulty)); self:strokecolor(CustomDifficultyToDarkColor(param.CustomDifficulty)); end end
|
||||
ShowCredit=false
|
||||
CreditX=0
|
||||
CreditY=0
|
||||
|
||||
Reference in New Issue
Block a user