don't read unused DifficultiesToShow in ScreenDemonstration
This commit is contained in:
@@ -25,8 +25,7 @@
|
||||
REGISTER_SCREEN_CLASS( ScreenJukebox );
|
||||
void ScreenJukebox::SetSong()
|
||||
{
|
||||
ThemeMetric<float> ALLOW_ADVANCED_MODIFIERS(m_sName,"AllowAdvancedModifiers");
|
||||
ThemeMetricDifficultiesToShow DIFFICULTIES_TO_SHOW_HERE(m_sName,"DifficultiesToShow");
|
||||
ThemeMetric<bool> ALLOW_ADVANCED_MODIFIERS(m_sName,"AllowAdvancedModifiers");
|
||||
|
||||
vector<Song*> vSongs;
|
||||
|
||||
@@ -49,6 +48,7 @@ void ScreenJukebox::SetSong()
|
||||
if( m_bDemonstration )
|
||||
{
|
||||
// HACK: This belongs in ScreenDemonstration
|
||||
ThemeMetricDifficultiesToShow DIFFICULTIES_TO_SHOW_HERE(m_sName,"DifficultiesToShow");
|
||||
vDifficultiesToShow = DIFFICULTIES_TO_SHOW_HERE.GetValue();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user