mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-02-16 20:01:49 -05:00
Merge pull request #523 from FunkinCrew/freeplay-no-randoms
sets the selected track as first one in group when swapping sorts on freeplay
This commit is contained in:
commit
9ff8c66a6e
1 changed files with 8 additions and 0 deletions
|
@ -456,6 +456,14 @@ class FreeplayState extends MusicBeatSubState
|
|||
default:
|
||||
generateSongList({filterType: REGEXP, filterData: str}, true);
|
||||
}
|
||||
|
||||
// We want to land on the first song of the group, rather than random song when changing letter sorts
|
||||
// that is, only if there's more than one song in the group!
|
||||
if (grpCapsules.members.length > 0)
|
||||
{
|
||||
curSelected = 1;
|
||||
changeSelection();
|
||||
}
|
||||
};
|
||||
|
||||
exitMovers.set([fp, txtCompletion, fnfHighscoreSpr],
|
||||
|
|
Loading…
Reference in a new issue