From e6df6d51164ae29c6d84db08e41bafd07cf87e6f Mon Sep 17 00:00:00 2001 From: sector-a <82838084+sector-a@users.noreply.github.com> Date: Tue, 29 Apr 2025 04:13:25 +0300 Subject: [PATCH] Temporarily remove nullSafety in two classes --- source/funkin/ui/MusicBeatState.hx | 3 ++- source/funkin/ui/MusicBeatSubState.hx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/source/funkin/ui/MusicBeatState.hx b/source/funkin/ui/MusicBeatState.hx index b940191fc..45504cb12 100644 --- a/source/funkin/ui/MusicBeatState.hx +++ b/source/funkin/ui/MusicBeatState.hx @@ -25,7 +25,8 @@ import funkin.play.notes.NoteDirection; * MusicBeatState actually represents the core utility FlxState of the game. * It includes functionality for event handling, as well as maintaining BPM-based update events. */ -@:nullSafety +// TODO: Add nullSafety back here. +// @:nullSafety class MusicBeatState extends FlxTransitionableState implements IEventHandler { var controls(get, never):Controls; diff --git a/source/funkin/ui/MusicBeatSubState.hx b/source/funkin/ui/MusicBeatSubState.hx index f17e4e1d8..565d5c8c3 100644 --- a/source/funkin/ui/MusicBeatSubState.hx +++ b/source/funkin/ui/MusicBeatSubState.hx @@ -23,7 +23,8 @@ import funkin.play.notes.NoteDirection; /** * MusicBeatSubState reincorporates the functionality of MusicBeatState into an FlxSubState. */ -@:nullSafety +// TODO: Add nullSafety back here. +// @:nullSafety class MusicBeatSubState extends FlxSubState implements IEventHandler { public var leftWatermarkText:Null = null;