From c0745d4ad75df45d402b45b0350ca77b5da3995c Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Mon, 31 Jul 2023 14:08:48 -0400 Subject: [PATCH] Hide warning --- source/funkin/FreeplayState.hx | 1 + source/funkin/play/PlayState.hx | 1 + 2 files changed, 2 insertions(+) diff --git a/source/funkin/FreeplayState.hx b/source/funkin/FreeplayState.hx index 1c226dbb5..3b8703643 100644 --- a/source/funkin/FreeplayState.hx +++ b/source/funkin/FreeplayState.hx @@ -901,6 +901,7 @@ class FreeplayState extends MusicBeatSubState } } + @:haxe.warning("-WDeprecated") override function switchTo(nextState:FlxState):Bool { clearDaCache(songs[curSelected].songName); diff --git a/source/funkin/play/PlayState.hx b/source/funkin/play/PlayState.hx index e21cd94e7..99a977250 100644 --- a/source/funkin/play/PlayState.hx +++ b/source/funkin/play/PlayState.hx @@ -972,6 +972,7 @@ class PlayState extends MusicBeatState * This function is called whenever Flixel switches switching to a new FlxState. * @return Whether to actually switch to the new state. */ + @:haxe.warning("-WDeprecated") override function switchTo(nextState:FlxState):Bool { var result:Bool = super.switchTo(nextState);