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