diff --git a/stepmania/src/ScreenRanking.cpp b/stepmania/src/ScreenRanking.cpp index 8a3fb7c8ca..056a1d8c5e 100644 --- a/stepmania/src/ScreenRanking.cpp +++ b/stepmania/src/ScreenRanking.cpp @@ -850,7 +850,7 @@ float ScreenRanking::SetPage( PageToShow pts ) FOREACH_CONST( Difficulty, DIFFICULTIES_TO_SHOW.GetValue(), iter ) { const Steps* pSteps = pSong->GetStepsByDifficulty( pts.st, *iter, false ); - if( UNLOCKMAN->StepsIsLocked( pSong, pSteps ) ) + if( pSteps && UNLOCKMAN->StepsIsLocked(pSong, pSteps) ) pSteps = NULL; BitmapText* pTextStepsScore = &item.m_textScore[*iter];