From 1e8149e0944dcab31d6196ba47e681da4e69d52d Mon Sep 17 00:00:00 2001 From: "Rodney, An Imaginative Person" <59747809+RodneyAnImaginativePerson@users.noreply.github.com> Date: Sun, 30 Jun 2024 18:02:26 -0400 Subject: [PATCH] Update Character.hx (#330) --- source/funkin/game/Character.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/funkin/game/Character.hx b/source/funkin/game/Character.hx index c2faaafc..286ff86e 100644 --- a/source/funkin/game/Character.hx +++ b/source/funkin/game/Character.hx @@ -238,6 +238,8 @@ class Character extends FunkinSprite implements IBeatReceiver implements IOffset } public override function destroy() { + script.call('destroy'); + script.destroy(); super.destroy(); cameraOffset.put();