diff --git a/stepmania/src/ScreenDebugOverlay.cpp b/stepmania/src/ScreenDebugOverlay.cpp index 2f377d75a9..11968f0a76 100644 --- a/stepmania/src/ScreenDebugOverlay.cpp +++ b/stepmania/src/ScreenDebugOverlay.cpp @@ -644,10 +644,15 @@ static HighScore MakeRandomHighScore( float fPercentDP ) static void FillProfileStats( Profile *pProfile ) { + pProfile->InitSongScores(); + pProfile->InitCourseScores(); + + static int s_iCount = 0; // Choose a percent for all scores. This is useful for testing unlocks // where some elements are unlocked at a certain percent complete - float fPercentDP = randomf( 0.6f, 1.2f ); - CLAMP( fPercentDP, 0.0f, 1.0f ); + float fPercentDP = s_iCount ? randomf( 0.6f, 1.0f ) : 1.0f; + s_iCount = (s_iCount+1)%2; + int iCount = pProfile->IsMachine()? PREFSMAN->m_iMaxHighScoresPerListForMachine.Get():