[MIRROR] Communication hotfix (#1062)

* Communication hotfix

* bah

* Update preferences.dm

Co-authored-by: Couls <coul422@gmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
SkyratBot
2020-09-30 01:12:57 +02:00
committed by GitHub
parent b8bd574701
commit cf76ee5b1a
5 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -310,7 +310,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
return
if(SSinput.initialized)
update_special_keybinds()
set_macros()
// Initialize tgui panel
tgui_panel.initialize()
+3 -3
View File
@@ -158,7 +158,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
//we couldn't load character data so just randomize the character appearance + name
random_character() //let's create a random character then - rather than a fat, bald and naked man.
key_bindings = deepCopyList(GLOB.hotkey_keybinding_list_by_key) // give them default keybinds and update their movement keys
C?.update_special_keybinds(src)
C?.set_macros()
real_name = pref_species.random_name(gender,1)
if(!loaded_preferences_successfully)
save_preferences()
@@ -1662,7 +1662,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
key_bindings[full_key] = sortList(key_bindings[full_key])
user << browse(null, "window=capturekeypress")
user.client.update_special_keybinds()
user.client.set_macros()
save_preferences()
if("keybindings_reset")
@@ -1672,7 +1672,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
return
hotkeys = (choice == "Hotkey")
key_bindings = (hotkeys) ? deepCopyList(GLOB.hotkey_keybinding_list_by_key) : deepCopyList(GLOB.classic_keybinding_list_by_key)
user.client.update_special_keybinds()
user.client.set_macros()
if("chat_on_map")
chat_on_map = !chat_on_map