don't use Name/ID to load DifficultyMeter. We only need the Name at load time, so pass it into Load and don't save it in the Actor.
This commit is contained in:
@@ -63,8 +63,8 @@ void ScreenNetSelectMusic::Init()
|
||||
ON_COMMAND( m_DifficultyIcon[p] );
|
||||
m_DC[p] = GAMESTATE->m_PreferredDifficulty[p];
|
||||
|
||||
m_DifficultyMeters[p].SetName( "DifficultyMeter", ssprintf("MeterP%d",p+1) );
|
||||
m_DifficultyMeters[p].Load();
|
||||
m_DifficultyMeters[p].SetName( ssprintf("MeterP%d",p+1) );
|
||||
m_DifficultyMeters[p].Load( "DifficultyMeter" );
|
||||
SET_XY_AND_ON_COMMAND( m_DifficultyMeters[p] );
|
||||
this->AddChild( &m_DifficultyMeters[p] );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user