Skip to content

Commit

Permalink
Merge pull request #1666 from dgelessus/fix_old_key_map_chronicle_par…
Browse files Browse the repository at this point in the history
…sing

Fix incorrect parsing of some KeyMap chronicles written by old code
  • Loading branch information
Hoikas authored Feb 23, 2025
2 parents 053e05e + 4026c0f commit 9035fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/Python/xOptionsMenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -1778,7 +1778,7 @@ def LoadKeyMap(self):
return

# set the key binds back to the saved
for controlCode, mappedKey in zip(kDefaultControlCodeBinds, KeyMapString.split(" ")):
for controlCode, mappedKey in zip(kDefaultControlCodeBinds, KeyMapString.split()):
if isinstance(controlCode, str):
PtDebugPrint(f"xOptionsMenu.LoadKeyMap(): Binding {mappedKey=} to {controlCode=}", level=kWarningLevel)
km.bindKeyToConsoleCommand(mappedKey, controlCode)
Expand Down

0 comments on commit 9035fdc

Please sign in to comment.