Skip to content

Commit 54a751b

Browse files
committed
Add controller remap to reset changes since config v1
1 parent 4f2cf55 commit 54a751b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/data/ConfigData.gd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,4 +448,5 @@ func _handle_config_update(config: Dictionary, version: int):
448448
# Input remaps have to be reset
449449
config[KEY_INPUT_KEY_MAP] = input_key_map
450450
config[KEY_CUSTOM_INPUT_REMAP] = custom_input_remap
451-
RetroHubUI.call_deferred("show_warning", "The following settings had to be reset due to incompatible changes in RetroHub:\n \n - Keyboard remaps\n-Controller custom layout\n \nPlease reconfigure these in the Settings menu if desired.")
451+
config[KEY_INPUT_CONTROLLER_MAP] = input_controller_map
452+
RetroHubUI.call_deferred("show_warning", "The following settings had to be reset due to incompatible changes in RetroHub:\n \n- Keyboard/controller remaps\n- Controller custom layout\n \nPlease reconfigure these in the Settings menu if desired.")

0 commit comments

Comments
 (0)