From c1c5ce9552246b0386d63b126b03a6b1cc54cd5a Mon Sep 17 00:00:00 2001 From: Joalor64 Date: Sat, 2 Nov 2024 19:02:22 -0400 Subject: [PATCH] Update ControlsSubState.hx --- source/options/ControlsSubState.hx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/source/options/ControlsSubState.hx b/source/options/ControlsSubState.hx index edcb72d..c23de60 100644 --- a/source/options/ControlsSubState.hx +++ b/source/options/ControlsSubState.hx @@ -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();