Changing controller/keyboard binds will now apply immediately

This commit is contained in:
MysterD 2021-08-01 10:23:33 -07:00
parent cd913345ca
commit 1917c6231b

View file

@ -40,6 +40,7 @@ static void djui_bind_button_on_bind(struct DjuiBase* caller) {
djui_text_set_text(button->text, keyStr); djui_text_set_text(button->text, keyStr);
djui_interactable_set_binding(NULL); djui_interactable_set_binding(NULL);
play_sound(SOUND_MENU_CHANGE_SELECT, gDefaultSoundArgs); play_sound(SOUND_MENU_CHANGE_SELECT, gDefaultSoundArgs);
controller_reconfigure();
} }
static void djui_bind_destroy(struct DjuiBase* base) { static void djui_bind_destroy(struct DjuiBase* base) {