From ece27cd23a582af6aff8fe5336a19256bbce7c10 Mon Sep 17 00:00:00 2001 From: MtH Date: Mon, 19 Apr 2021 10:35:39 +0200 Subject: [PATCH] load songs from reload json button --- source/ChartingState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ChartingState.hx b/source/ChartingState.hx index d36521a6b..1030c19ba 100644 --- a/source/ChartingState.hx +++ b/source/ChartingState.hx @@ -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