1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-05 06:14:36 +00:00

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 function loadJson(song:String):Void
{ {
PlayState.SONG = Song.loadFromJson(song.toLowerCase(), song.toLowerCase()); PlayState.SONG = Song.loadFromJson(song.toLowerCase(), song.toLowerCase());
FlxG.resetState(); LoadingState.loadAndSwitchState(new ChartingState());
} }
function loadAutosave():Void function loadAutosave():Void