performCleanup on reload

This commit is contained in:
Kolo
2025-04-30 00:43:37 -04:00
committed by Eric
parent bbc0546c74
commit 3e0dbe2758
+2 -1
View File
@@ -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);
}