From 3e0dbe2758d68ccf4ded1d08bec247ab05d70829 Mon Sep 17 00:00:00 2001 From: Kolo <67389779+JustKolosaki@users.noreply.github.com> Date: Mon, 21 Apr 2025 08:44:23 +0200 Subject: [PATCH] performCleanup on reload --- source/funkin/play/PlayState.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/funkin/play/PlayState.hx b/source/funkin/play/PlayState.hx index f18881b82..50adf81c5 100644 --- a/source/funkin/play/PlayState.hx +++ b/source/funkin/play/PlayState.hx @@ -1421,9 +1421,10 @@ class PlayState extends MusicBeatSubState */ override function reloadAssets():Void { + performCleanup(); + funkin.modding.PolymodHandler.forceReloadAssets(); lastParams.targetSong = SongRegistry.instance.fetchEntry(currentSong.id); - this.remove(currentStage); LoadingState.loadPlayState(lastParams); }