Maybe fix missing FPS counter
put the toggleFPS code after all save file crap so that it might work better
This commit is contained in:
parent
6876a48875
commit
7a0a8c3d6e
@ -83,13 +83,6 @@ class Main extends Sprite
|
|||||||
#end
|
#end
|
||||||
addChild(game);
|
addChild(game);
|
||||||
|
|
||||||
#if !mobile
|
|
||||||
fpsCounter = new FPS(10, 3, 0xFFFFFF);
|
|
||||||
addChild(fpsCounter);
|
|
||||||
toggleFPS(FlxG.save.data.fps);
|
|
||||||
|
|
||||||
#end
|
|
||||||
|
|
||||||
PlayerSettings.init();
|
PlayerSettings.init();
|
||||||
|
|
||||||
#if windows
|
#if windows
|
||||||
@ -107,6 +100,12 @@ class Main extends Sprite
|
|||||||
FlxG.save.bind('funkin', 'ninjamuffin99');
|
FlxG.save.bind('funkin', 'ninjamuffin99');
|
||||||
|
|
||||||
KadeEngineData.initSave();
|
KadeEngineData.initSave();
|
||||||
|
|
||||||
|
#if !mobile
|
||||||
|
fpsCounter = new FPS(10, 3, 0xFFFFFF);
|
||||||
|
addChild(fpsCounter);
|
||||||
|
toggleFPS(FlxG.save.data.fps);
|
||||||
|
#end
|
||||||
}
|
}
|
||||||
|
|
||||||
var game:FlxGame;
|
var game:FlxGame;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user