1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-29 02:04:28 +00:00

song difficulty swapper

This commit is contained in:
Cameron Taylor 2022-02-03 10:39:07 -05:00
parent 7958c49007
commit d0134a3701

View file

@ -254,6 +254,11 @@ class ChartingState extends MusicBeatState
{ {
SongLoad.curDiff = _song.difficulties[Std.parseInt(diff)]; SongLoad.curDiff = _song.difficulties[Std.parseInt(diff)];
SongLoad.checkAndCreateNotemap(SongLoad.curDiff); SongLoad.checkAndCreateNotemap(SongLoad.curDiff);
while (SongLoad.getSong()[curSection] == null)
addSection();
updateGrid();
}); });
difficultyDropDown.selectedLabel = SongLoad.curDiff; difficultyDropDown.selectedLabel = SongLoad.curDiff;