fix controls not saving

This commit is contained in:
KadeDev 2021-03-15 16:06:42 -07:00
parent ea4adc9998
commit 3800ff0134

View File

@ -31,7 +31,7 @@ class MainMenuState extends MusicBeatState
var newGaming2:FlxText;
var newInput:Bool = true;
public static var kadeEngineVer:String = "1.1.3";
public static var kadeEngineVer:String = "1.2";
public static var gameVer:String = "0.2.7.1";
var magenta:FlxSprite;
@ -99,6 +99,11 @@ class MainMenuState extends MusicBeatState
// NG.core.calls.event.logEvent('swag').send();
if (FlxG.save.data.dfjk)
controls.setKeyboardScheme(KeyboardScheme.Solo, true);
else
controls.setKeyboardScheme(KeyboardScheme.Duo(true), true);
changeItem();
super.create();