mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-11-26 06:09:02 +00: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
|
|
@ -456,6 +456,14 @@ class FreeplayState extends MusicBeatSubState
|
||||||
default:
|
default:
|
||||||
generateSongList({filterType: REGEXP, filterData: str}, true);
|
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],
|
exitMovers.set([fp, txtCompletion, fnfHighscoreSpr],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue