diff --git a/scripts/Window_Settings.rb b/scripts/Window_Settings.rb index b07f6c1..ce5e794 100644 --- a/scripts/Window_Settings.rb +++ b/scripts/Window_Settings.rb @@ -103,6 +103,13 @@ class Window_Settings end def update + if Input.key_press?(Input.key_from_name("F1")) + if Oneshot.msgbox(Oneshot::Msg::YESNO, tr("Are you sure you want to reset the control settings?")) + Settings.reset_controls! + @content.redraw_all + end + end + if self.visible @content.update end