use GetMetricR
This commit is contained in:
@@ -72,7 +72,7 @@ void PercentageDisplay::Load( const PlayerState *pPlayerState, const PlayerStage
|
||||
m_iDancePointsDigits = THEME->GetMetricI( sMetricsGroup, "DancePointsDigits" );
|
||||
m_bUseRemainder = THEME->GetMetricB( sMetricsGroup, "PercentUseRemainder" );
|
||||
m_bApplyScoreDisplayOptions = THEME->GetMetricB( sMetricsGroup, "ApplyScoreDisplayOptions" );
|
||||
m_Format.SetFromExpression( THEME->GetMetric(sMetricsGroup, "Format") );
|
||||
m_Format = THEME->GetMetricR( sMetricsGroup, "Format" );
|
||||
|
||||
if( m_Format.IsNil() )
|
||||
{
|
||||
|
||||
@@ -151,8 +151,7 @@ void Player::Init(
|
||||
//
|
||||
// Init judgment positions
|
||||
//
|
||||
LuaReference expr;
|
||||
expr.SetFromExpression( THEME->GetMetric(sType,"JudgmentTransformCommandFunction") );
|
||||
LuaReference expr = THEME->GetMetricR( sType,"JudgmentTransformCommandFunction" );
|
||||
|
||||
bool bPlayerUsingBothSides = GAMESTATE->GetCurrentStyle()->m_StyleType==ONE_PLAYER_TWO_SIDES;
|
||||
Actor temp;
|
||||
|
||||
Reference in New Issue
Block a user