From 8cbd09111ce43294ae3ffabbcf970cb64e89c5e5 Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Fri, 11 Nov 2022 01:43:32 +0100 Subject: [PATCH] time for me to go to sleep --- buildnumber.txt | 2 +- source/funkin/game/Note.hx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/buildnumber.txt b/buildnumber.txt index 1b01ac63..3d32f7d2 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -1279 \ No newline at end of file +1281 \ No newline at end of file diff --git a/source/funkin/game/Note.hx b/source/funkin/game/Note.hx index 852f4e05..9bac6126 100644 --- a/source/funkin/game/Note.hx +++ b/source/funkin/game/Note.hx @@ -67,6 +67,7 @@ class Note extends FlxSprite @:dox(hide) public var __strumCameras:Array = null; private function get_noteType() { + if (PlayState.instance == null) return null; return PlayState.instance.getNoteType(noteTypeID); }