fix caching
This commit is contained in:
@ -49,6 +49,13 @@ class Caching extends MusicBeatState
|
||||
|
||||
override function create()
|
||||
{
|
||||
|
||||
FlxG.save.bind('funkin', 'ninjamuffin99');
|
||||
|
||||
PlayerSettings.init();
|
||||
|
||||
KadeEngineData.initSave();
|
||||
|
||||
FlxG.mouse.visible = false;
|
||||
|
||||
FlxG.worldBounds.set(0,0);
|
||||
|
@ -67,6 +67,18 @@ class TitleState extends MusicBeatState
|
||||
trace("Loaded " + openfl.Assets.getLibrary("default").assetsLoaded + " assets (DEFAULT)");
|
||||
}
|
||||
|
||||
#if !cpp
|
||||
|
||||
FlxG.save.bind('funkin', 'ninjamuffin99');
|
||||
|
||||
PlayerSettings.init();
|
||||
|
||||
KadeEngineData.initSave();
|
||||
|
||||
#end
|
||||
|
||||
|
||||
Highscore.load();
|
||||
|
||||
|
||||
curWacky = FlxG.random.getObject(getIntroTextShit());
|
||||
|
Reference in New Issue
Block a user