Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
fix controls not saving
Browse files Browse the repository at this point in the history
  • Loading branch information
Kade-github committed Mar 15, 2021
1 parent ea4adc9 commit 3800ff0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion source/MainMenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 3800ff0

Please sign in to comment.