This commit is contained in:
kevinz000
2020-06-04 23:27:50 -07:00
parent 87dc0e0823
commit ee5b209932
3 changed files with 1 additions and 5 deletions
-2
View File
@@ -1,7 +1,5 @@
GLOBAL_LIST_EMPTY(classic_keybinding_list_by_key)
GLOBAL_LIST_EMPTY(hotkey_keybinding_list_by_key)
GLOBAL_LIST_EMPTY(classic_keybinding_modless_defaults)
GLOBAL_LIST_EMPTY(hotkey_keybinding_modless_defaults)
GLOBAL_LIST_EMPTY(keybindings_by_name)
// This is a mapping from JS keys to Byond - ref: https://keycode.info/
+1 -1
View File
@@ -2450,7 +2450,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)
modless_key_bindings = (hotkeys) ? GLOB.hotkey_modless_keybinding_defaults.Copy() : GLOB.classic_modless_keybinding_defaults.Copy()
modless_key_bindings = list()
user.client.update_movement_keys()
if("chat_on_map")
@@ -7,8 +7,6 @@
var/category = CATEGORY_MISC
var/weight = WEIGHT_LOWEST
var/keybind_signal
/// The default value for a modifier-independent bind.
var/modifier_independent_keybind
/datum/keybinding/New()