We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cd47a4 commit edf6889Copy full SHA for edf6889
source/funkin/ui/freeplay/FreeplayState.hx
@@ -510,10 +510,10 @@ class FreeplayState extends MusicBeatSubState
510
generateSongList({filterType: REGEXP, filterData: str}, true);
511
}
512
513
- // If the current song is still in the list (aka not null?), we'll land on it
+ // If the current song is still in the list, or if it was random, we'll land on it
514
// Otherwise we want to land on the first song of the group, rather than random song when changing letter sorts
515
// that is, only if there's more than one song in the group!
516
- if (curSong != null && currentFilteredSongs.length > 1)
+ if (curSong == null || currentFilteredSongs.contains(curSong))
517
{
518
changeSelection();
519
0 commit comments