Skip to content

Commit

Permalink
Update ControlsSubState.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Nov 2, 2024
1 parent 4087a6d commit c1c5ce9
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions source/options/ControlsSubState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -194,27 +194,27 @@ class ControlsSubState extends ExtendableSubState {
} else {
switch (curSelected) {
case 0:
SaveData.settings.keyboardBinds[0][0] = FlxG.keys.getIsDown()[0].ID;
SaveData.settings.keyboardBinds[0][0] = FlxG.keys.getIsDown()[0].ID.toString();
case 1:
SaveData.settings.keyboardBinds[0][1] = FlxG.keys.getIsDown()[0].ID;
SaveData.settings.keyboardBinds[0][1] = FlxG.keys.getIsDown()[0].ID.toString();
case 2:
SaveData.settings.keyboardBinds[1][0] = FlxG.keys.getIsDown()[0].ID;
SaveData.settings.keyboardBinds[1][0] = FlxG.keys.getIsDown()[0].ID.toString();
case 3:
SaveData.settings.keyboardBinds[1][1] = FlxG.keys.getIsDown()[0].ID;
SaveData.settings.keyboardBinds[1][1] = FlxG.keys.getIsDown()[0].ID.toString();
case 4:
SaveData.settings.keyboardBinds[2][0] = FlxG.keys.getIsDown()[0].ID;
SaveData.settings.keyboardBinds[2][0] = FlxG.keys.getIsDown()[0].ID.toString();
case 5:
SaveData.settings.keyboardBinds[2][1] = FlxG.keys.getIsDown()[0].ID;
SaveData.settings.keyboardBinds[2][1] = FlxG.keys.getIsDown()[0].ID.toString();
case 6:
SaveData.settings.keyboardBinds[3][0] = FlxG.keys.getIsDown()[0].ID;
SaveData.settings.keyboardBinds[3][0] = FlxG.keys.getIsDown()[0].ID.toString();
case 7:
SaveData.settings.keyboardBinds[3][1] = FlxG.keys.getIsDown()[0].ID;
SaveData.settings.keyboardBinds[3][1] = FlxG.keys.getIsDown()[0].ID.toString();
case 8:
SaveData.settings.keyboardBinds[4][0] = FlxG.keys.getIsDown()[0].ID;
SaveData.settings.keyboardBinds[4][0] = FlxG.keys.getIsDown()[0].ID.toString();
case 9:
SaveData.settings.keyboardBinds[5][0] = FlxG.keys.getIsDown()[0].ID;
SaveData.settings.keyboardBinds[5][0] = FlxG.keys.getIsDown()[0].ID.toString();
case 10:
SaveData.settings.keyboardBinds[6][0] = FlxG.keys.getIsDown()[0].ID;
SaveData.settings.keyboardBinds[6][0] = FlxG.keys.getIsDown()[0].ID.toString();
}
}
SaveData.saveSettings();
Expand Down

0 comments on commit c1c5ce9

Please sign in to comment.