mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-22 13:42:47 +00:00
oops
This commit is contained in:
parent
1883045f75
commit
bfd9c8c343
|
@ -907,6 +907,7 @@ impl ControlsMenu {
|
||||||
self.main.non_interactive = true;
|
self.main.non_interactive = true;
|
||||||
*controller = new_menu_controller;
|
*controller = new_menu_controller;
|
||||||
|
|
||||||
|
self.selected_controller = ControllerType::Keyboard;
|
||||||
self.update_rebind_menu(state, ctx);
|
self.update_rebind_menu(state, ctx);
|
||||||
|
|
||||||
self.current = CurrentMenu::MainMenu;
|
self.current = CurrentMenu::MainMenu;
|
||||||
|
@ -927,6 +928,7 @@ impl ControlsMenu {
|
||||||
self.main.non_interactive = true;
|
self.main.non_interactive = true;
|
||||||
*controller = new_menu_controller;
|
*controller = new_menu_controller;
|
||||||
|
|
||||||
|
self.selected_controller = ControllerType::Gamepad(idx as u32);
|
||||||
self.update_rebind_menu(state, ctx);
|
self.update_rebind_menu(state, ctx);
|
||||||
|
|
||||||
self.current = CurrentMenu::MainMenu;
|
self.current = CurrentMenu::MainMenu;
|
||||||
|
|
Loading…
Reference in a new issue