From 989a602b71ac5828c8c29f343112f178405e2fee Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Wed, 29 Mar 2023 22:52:53 +0200 Subject: [PATCH] oopsie --- source/funkin/game/PlayState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/game/PlayState.hx b/source/funkin/game/PlayState.hx index d4d85ba1..c879eb70 100644 --- a/source/funkin/game/PlayState.hx +++ b/source/funkin/game/PlayState.hx @@ -856,7 +856,7 @@ class PlayState extends MusicBeatState for(g in __cachedGraphics) g.useCount--; super.destroy(); - FlxDestroyUtil.destroy(scripts); + scripts = FlxDestroyUtil.destroy(scripts); @:privateAccess { FlxG.sound.destroySound(inst); FlxG.sound.destroySound(vocals);