hot reloading (F5)

This commit is contained in:
Yoshman29
2022-11-02 02:23:45 +01:00
parent bf1e581479
commit dc03e378df
5 changed files with 32 additions and 1 deletions
+3
View File
@@ -746,6 +746,9 @@ class PlayState extends MusicBeatState
DiscordClient.changePresence("Chart Editor", null, null, true);
#end
}
if (FlxG.keys.justPressed.F5) {
scripts.reload();
}
// FlxG.watch.addQuick('VOL', vocals.amplitudeLeft);
// FlxG.watch.addQuick('VOLRight', vocals.amplitudeRight);