fall through if sorting by player top grades without a profile

This commit is contained in:
Crash Cringle
2024-02-21 15:54:33 -05:00
committed by teejusb
parent 24876804ef
commit b16efb06f7
+1 -6
View File
@@ -605,18 +605,13 @@ void MusicWheel::BuildWheelItemDatas( std::vector<MusicWheelItemData *> &arrayWh
SongUtil::SortSongPointerArrayByGrades( arraySongs, true );
break;
case SORT_TOP_GRADES_P1:
// Check if master player profile is persistent
// Check if player profile is persistent
if( PROFILEMAN->IsPersistentProfile(PLAYER_1) )
SongUtil::SortSongPointerArrayByProfileGrades( arraySongs, true, PLAYER_1);
else
SongUtil::SortSongPointerArrayByGrades( arraySongs, true );
break;
case SORT_TOP_GRADES_P2:
if( PROFILEMAN->IsPersistentProfile(PLAYER_2) )
SongUtil::SortSongPointerArrayByProfileGrades( arraySongs, true, PLAYER_2);
else
SongUtil::SortSongPointerArrayByGrades( arraySongs, true );
break;
case SORT_ARTIST:
SongUtil::SortSongPointerArrayByArtist( arraySongs );