Merge pull request #34 from WorstAquaPlayer/master
Fix some saving issues
This commit is contained in:
commit
b215f5bf2a
@ -121,6 +121,7 @@ class OptionsMenu extends MusicBeatState
|
||||
FlxG.switchState(new LoadReplayState());
|
||||
}
|
||||
}
|
||||
FlxG.save.flush();
|
||||
}
|
||||
|
||||
var isSettingControl:Bool = false;
|
||||
|
@ -66,6 +66,8 @@ class TitleState extends MusicBeatState
|
||||
trace('NEWGROUNDS LOL');
|
||||
#end
|
||||
|
||||
FlxG.save.bind('funkin', 'ninjamuffin99');
|
||||
|
||||
if (FlxG.save.data.newInput == null)
|
||||
FlxG.save.data.newInput = true;
|
||||
|
||||
@ -77,8 +79,12 @@ class TitleState extends MusicBeatState
|
||||
|
||||
if (FlxG.save.data.accuracyDisplay == null)
|
||||
FlxG.save.data.accuracyDisplay = true;
|
||||
|
||||
FlxG.save.bind('funkin', 'ninjamuffin99');
|
||||
|
||||
if (FlxG.save.data.accuracyDisplay == null)
|
||||
FlxG.save.data.accuracyDisplay = true;
|
||||
|
||||
if (FlxG.save.data.offset == null)
|
||||
FlxG.save.data.offset = 0;
|
||||
|
||||
Highscore.load();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user