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); }