Add the SurvivalModOverride metric.

This commit is contained in:
Jason Felds
2011-11-28 19:13:15 -05:00
parent 6a700d5cd8
commit 2d3c3628a1
4 changed files with 11 additions and 1 deletions
+2 -1
View File
@@ -70,6 +70,7 @@
static ThemeMetric<float> INITIAL_BACKGROUND_BRIGHTNESS ("ScreenGameplay","InitialBackgroundBrightness");
static ThemeMetric<float> SECONDS_BETWEEN_COMMENTS ("ScreenGameplay","SecondsBetweenComments");
static ThemeMetric<RString> SCORE_KEEPER_CLASS ("ScreenGameplay","ScoreKeeperClass");
static ThemeMetric<bool> SURVIVAL_MOD_OVERRIDE ("ScreenGameplay","SurvivalModOverride");
AutoScreenMessage( SM_PlayGo );
@@ -831,7 +832,7 @@ void ScreenGameplay::InitSongQueues()
}
// In a survival course, override stored mods
if( pCourse->GetCourseType() == COURSE_TYPE_SURVIVAL )
if( pCourse->GetCourseType() == COURSE_TYPE_SURVIVAL && SURVIVAL_MOD_OVERRIDE )
{
pi->GetPlayerState()->m_PlayerOptions.FromString( ModsLevel_Stage,
"clearall,"