From b77723ee7ae663ce74ca4091b0fa0a1a57b86e18 Mon Sep 17 00:00:00 2001 From: Tsurupeta <41485301+Tsurupeta@users.noreply.github.com> Date: Sun, 3 Dec 2023 02:15:12 +0100 Subject: [PATCH 1/2] no message --- code/modules/client/preferences_savefile.dm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/code/modules/client/preferences_savefile.dm b/code/modules/client/preferences_savefile.dm index e80e5bd8c5ba..409146c9fcdb 100644 --- a/code/modules/client/preferences_savefile.dm +++ b/code/modules/client/preferences_savefile.dm @@ -188,11 +188,6 @@ S["co_affiliation"] >> affiliation S["yautja_status"] >> yautja_status S["synth_status"] >> synth_status - S["key_bindings"] >> key_bindings - check_keybindings() - - var/list/remembered_key_bindings - S["remembered_key_bindings"] >> remembered_key_bindings S["lang_chat_disabled"] >> lang_chat_disabled S["show_permission_errors"] >> show_permission_errors @@ -207,6 +202,12 @@ S["adaptive_zoom"] >> adaptive_zoom S["tooltips"] >> tooltips + S["key_bindings"] >> key_bindings + check_keybindings() + + var/list/remembered_key_bindings + S["remembered_key_bindings"] >> remembered_key_bindings + //Sanitize ooccolor = sanitize_hexcolor(ooccolor, CONFIG_GET(string/ooc_color_default)) lastchangelog = sanitize_text(lastchangelog, initial(lastchangelog)) From 86c979c630bafb85f4493505b6e178c92f7a433e Mon Sep 17 00:00:00 2001 From: Tsurupeta <41485301+Tsurupeta@users.noreply.github.com> Date: Sun, 3 Dec 2023 18:09:24 +0100 Subject: [PATCH 2/2] no message --- code/modules/client/preferences_savefile.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/client/preferences_savefile.dm b/code/modules/client/preferences_savefile.dm index 409146c9fcdb..4ba42c0e39c3 100644 --- a/code/modules/client/preferences_savefile.dm +++ b/code/modules/client/preferences_savefile.dm @@ -201,9 +201,7 @@ S["autofit_viewport"] >> auto_fit_viewport S["adaptive_zoom"] >> adaptive_zoom S["tooltips"] >> tooltips - S["key_bindings"] >> key_bindings - check_keybindings() var/list/remembered_key_bindings S["remembered_key_bindings"] >> remembered_key_bindings @@ -275,6 +273,8 @@ pref_job_slots = sanitize_islist(pref_job_slots, list()) vars["fps"] = fps + check_keybindings() + if(remembered_key_bindings) for(var/i in GLOB.keybindings_by_name) if(!(i in remembered_key_bindings))