Fixes keybind fuckup (#52406)

* Fixes keybind fuckup

* Right fix
This commit is contained in:
skoglol
2020-07-21 22:05:56 +02:00
committed by GitHub
parent c95aca2685
commit d9b88f5f66
+6 -2
View File
@@ -5,7 +5,7 @@
// You do not need to raise this if you are adding new values that have sane defaults.
// Only raise this value when changing the meaning/format/name/layout of an existing value
// where you would want the updater procs below to run
#define SAVEFILE_VERSION_MAX 35
#define SAVEFILE_VERSION_MAX 36
/*
SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Carn
@@ -63,7 +63,11 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
if(bind == "quick_equip_suit_storage")
newkey = TRUE
if(!newkey && !key_bindings["ShiftQ"])
key_bindings["ShiftQ"] += "quick_equip_suit_storage"
key_bindings["ShiftQ"] = list("quick_equip_suit_storage")
if(current_version < 36)
if(key_bindings["ShiftQ"] == "quick_equip_suit_storage")
key_bindings["ShiftQ"] = list("quick_equip_suit_storage")
/datum/preferences/proc/update_character(current_version, savefile/S)