From 928ecd4d46705f5d5ba5b8b9c062c643c064e50a Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Wed, 25 Aug 2010 17:48:33 -0500 Subject: [PATCH] param.Difficulty -> param.CustomDifficulty; make this work again --- Themes/_fallback/metrics.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Themes/_fallback/metrics.ini b/Themes/_fallback/metrics.ini index 2d7e633555..acae3f6534 100644 --- a/Themes/_fallback/metrics.ini +++ b/Themes/_fallback/metrics.ini @@ -1889,7 +1889,7 @@ 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.Difficulty then self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)) end end +FrameSetCommand=%function(self,param) if param.CustomDifficulty then self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)) end end NumTicks=10 MaxTicks=14 TicksX=0 @@ -1902,17 +1902,17 @@ ZeroMeterString="?" MeterX=30 MeterY=0 MeterOnCommand=shadowlength,0 -MeterSetCommand=%function(self,param) if param.Difficulty then self:diffuse(CustomDifficultyToLightColor(param.CustomDifficulty)); self:strokecolor(CustomDifficultyToDarkColor(param.CustomDifficulty)); end end +MeterSetCommand=%function(self,param) if 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.Difficulty then self:diffuse(CustomDifficultyToLightColor(param.CustomDifficulty)); self:strokecolor(CustomDifficultyToDarkColor(param.CustomDifficulty)); end end +DescriptionSetCommand=%function(self,param) if param.CustomDifficulty then self:diffuse(CustomDifficultyToLightColor(param.CustomDifficulty)); self:strokecolor(CustomDifficultyToDarkColor(param.CustomDifficulty)); end end ShowAutogen=true AutogenX=40 AutogenY=0 AutogenOnCommand= -AutogenSetCommand=%function(self,param) if param.Difficulty then self:diffuse(CustomDifficultyToLightColor(param.CustomDifficulty)); self:strokecolor(CustomDifficultyToDarkColor(param.CustomDifficulty)); end end +AutogenSetCommand=%function(self,param) if param.CustomDifficulty then self:diffuse(CustomDifficultyToLightColor(param.CustomDifficulty)); self:strokecolor(CustomDifficultyToDarkColor(param.CustomDifficulty)); end end ShowStepsType=false StepsTypeX=0 StepsTypeY=0