diff --git a/source/states/ChartingState.hx b/source/states/ChartingState.hx index 3d1018e..21d51c4 100644 --- a/source/states/ChartingState.hx +++ b/source/states/ChartingState.hx @@ -89,7 +89,7 @@ class ChartingState extends ExtendableState { if (Input.is("accept")) { ExtendableState.switchState(new PlayState()); - PlayState.instance.song = song; + PlayState.song = song; } if (FlxG.mouse.x > gridBG.x diff --git a/source/states/SongSelectState.hx b/source/states/SongSelectState.hx index b18dd1d..c57bdcb 100644 --- a/source/states/SongSelectState.hx +++ b/source/states/SongSelectState.hx @@ -36,7 +36,7 @@ class SongSelectState extends ExtendableState { var bottomPanel:FlxSprite; var titleTxt:FlxText; - var panelT:FlxSprite; + var topPanel:FlxSprite; var lerpScore:Int = 0; var intendedScore:Int = 0;