1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-25 06:36:43 +00:00

Hide warning

This commit is contained in:
EliteMasterEric 2023-07-31 14:08:48 -04:00
parent 4e67791249
commit c0745d4ad7
2 changed files with 2 additions and 0 deletions

View file

@ -901,6 +901,7 @@ class FreeplayState extends MusicBeatSubState
} }
} }
@:haxe.warning("-WDeprecated")
override function switchTo(nextState:FlxState):Bool override function switchTo(nextState:FlxState):Bool
{ {
clearDaCache(songs[curSelected].songName); clearDaCache(songs[curSelected].songName);

View file

@ -972,6 +972,7 @@ class PlayState extends MusicBeatState
* This function is called whenever Flixel switches switching to a new FlxState. * This function is called whenever Flixel switches switching to a new FlxState.
* @return Whether to actually switch to the new state. * @return Whether to actually switch to the new state.
*/ */
@:haxe.warning("-WDeprecated")
override function switchTo(nextState:FlxState):Bool override function switchTo(nextState:FlxState):Bool
{ {
var result:Bool = super.switchTo(nextState); var result:Bool = super.switchTo(nextState);