From 8864c5b38212d01af874f1325077c63d7a2c4107 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 6 Apr 2007 20:09:42 +0000 Subject: [PATCH] store song options, too --- stepmania/src/StageStats.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stepmania/src/StageStats.cpp b/stepmania/src/StageStats.cpp index 9aa5b9322d..b7960098d6 100644 --- a/stepmania/src/StageStats.cpp +++ b/stepmania/src/StageStats.cpp @@ -166,7 +166,12 @@ void StageStats::CommitScores( bool bSummary ) hs.SetScore( m_player[p].m_iScore ); hs.SetPercentDP( m_player[p].GetPercentDancePoints() ); hs.SetSurviveSeconds( m_player[p].m_fAliveSeconds ); - hs.SetModifiers( GAMESTATE->m_pPlayerState[p]->m_PlayerOptions.GetStage().GetString() ); + + vector asModifiers; + asModifiers.push_back( GAMESTATE->m_pPlayerState[p]->m_PlayerOptions.GetStage().GetString() ); + asModifiers.push_back( GAMESTATE->m_SongOptions.GetStage().GetString() ); + hs.SetModifiers( join(", ", asModifiers) ); + hs.SetDateTime( DateTime::GetNowDateTime() ); hs.SetPlayerGuid( PROFILEMAN->IsPersistentProfile(p) ? PROFILEMAN->GetProfile(p)->m_sGuid : RString("") ); hs.SetMachineGuid( PROFILEMAN->GetMachineProfile()->m_sGuid );