From 74834cf38206a7bb74adfb2690e6bf1268b0b1bb Mon Sep 17 00:00:00 2001 From: NeeEoo Date: Mon, 23 Oct 2023 15:09:22 +0200 Subject: [PATCH] Oops --- source/funkin/game/Note.hx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/funkin/game/Note.hx b/source/funkin/game/Note.hx index 31b89964..b030b5ff 100644 --- a/source/funkin/game/Note.hx +++ b/source/funkin/game/Note.hx @@ -217,7 +217,7 @@ class Note extends FlxSprite super.drawComplex(camera); } - static var __notePosFrameOffset:FlxPoint = FlxPoint.get(); + static var __notePosFrameOffset:FlxPoint = new FlxPoint(); override function draw() { @:privateAccess var oldDefaultCameras = FlxCamera._defaultCameras; @@ -302,6 +302,5 @@ class Note extends FlxSprite public override function destroy() { super.destroy(); - __notePosFrameOffset.put(); } }