load songs from reload json button

This commit is contained in:
MtH 2021-04-19 10:35:39 +02:00
parent fe4c61124e
commit ece27cd23a

View file

@ -1038,7 +1038,7 @@ class ChartingState extends MusicBeatState
function loadJson(song:String):Void
{
PlayState.SONG = Song.loadFromJson(song.toLowerCase(), song.toLowerCase());
FlxG.resetState();
LoadingState.loadAndSwitchState(new ChartingState());
}
function loadAutosave():Void