mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-04-12 06:54:41 -04:00
Merge b252a9e5dc
into d31ef12363
This commit is contained in:
commit
c2a3f44663
1 changed files with 1 additions and 2 deletions
|
@ -808,13 +808,12 @@ class FreeplayState extends MusicBeatSubState
|
|||
case ALL:
|
||||
// no filter!
|
||||
case FAVORITE:
|
||||
// sort favorites by week, not alphabetically
|
||||
songsToFilter = songsToFilter.filter(filteredSong -> {
|
||||
if (filteredSong == null) return true; // Random
|
||||
return filteredSong.isFav;
|
||||
});
|
||||
|
||||
songsToFilter.sort(filterAlphabetically);
|
||||
|
||||
default:
|
||||
// return all on default
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue