diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 066ec73594..f18980c910 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -1157,8 +1157,10 @@ void GameState::GetRankingFeats( PlayerNumber pn, vector &asFeatsO } // Find Personal Records + Profile *prof = PROFILEMAN->GetProfile(pn); + if( prof ) { - HighScoreList &hsl = PROFILEMAN->GetProfile(pn)->GetStepsHighScoreList(pSteps); + HighScoreList &hsl = prof->GetStepsHighScoreList(pSteps); for( j=0; j