mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
[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:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user