diff --git a/source/funkin/backend/system/Main.hx b/source/funkin/backend/system/Main.hx index 20cad403..e520f486 100644 --- a/source/funkin/backend/system/Main.hx +++ b/source/funkin/backend/system/Main.hx @@ -45,10 +45,8 @@ class Main extends Sprite public static var framerateSprite:funkin.backend.system.framerate.Framerate; #end - var gameWidth:Int = 1280; // Width of the game in pixels (might be less / more in actual pixels depending on your zoom). - var gameHeight:Int = 720; // Height of the game in pixels (might be less / more in actual pixels depending on your zoom). - var zoom:Float = 1; // If -1, zoom is automatically calculated to fit the window dimensions. - var framerate:Int = 120; // How many frames per second the game should run at. + var gameWidth:Int = 1280; // Width of the game in pixels (might be less / more in actual pixels). + var gameHeight:Int = 720; // Height of the game in pixels (might be less / more in actual pixels). var skipSplash:Bool = true; // Whether to skip the flixel splash screen that appears in release mode. var startFullscreen:Bool = false; // Whether to start the game in fullscreen on desktop targets @@ -67,7 +65,7 @@ class Main extends Sprite super(); #if windows NativeAPI.setDarkMode(true); #end - addChild(game = new FunkinGame(gameWidth, gameHeight, MainState, framerate, framerate, skipSplash, startFullscreen)); + addChild(game = new FunkinGame(gameWidth, gameHeight, MainState, Options.framerate, Options.framerate, skipSplash, startFullscreen)); #if !mobile addChild(framerateSprite = new funkin.backend.system.framerate.Framerate());