diff --git a/source/Main.hx b/source/Main.hx index 030d6f5..2fd77ed 100644 --- a/source/Main.hx +++ b/source/Main.hx @@ -85,13 +85,6 @@ class Main extends Sprite game = new FlxGame(gameWidth, gameHeight, initialState, zoom, framerate, framerate, skipSplash, startFullscreen); #end addChild(game); - - #if !mobile - fpsCounter = new FPS(10, 3, 0xFFFFFF); - addChild(fpsCounter); - toggleFPS(FlxG.save.data.fps); - - #end PlayerSettings.init(); @@ -110,6 +103,12 @@ class Main extends Sprite FlxG.save.bind('funkin', 'ninjamuffin99'); KadeEngineData.initSave(); + + #if !mobile + fpsCounter = new FPS(10, 3, 0xFFFFFF); + addChild(fpsCounter); + toggleFPS(FlxG.save.data.fps); + #end } var game:FlxGame;