use /global/ sugar for bare globals, no leading /

This commit is contained in:
spookerton
2022-04-15 12:07:26 +01:00
parent ee67e174fb
commit 556331a6a3
215 changed files with 713 additions and 724 deletions
@@ -1,6 +1,6 @@
var/list/_client_preferences
var/list/_client_preferences_by_key
var/list/_client_preferences_by_type
var/global/list/_client_preferences
var/global/list/_client_preferences_by_key
var/global/list/_client_preferences_by_type
/proc/get_client_preferences()
if(!_client_preferences)
@@ -151,7 +151,7 @@
Custom Name
*/
var/datum/gear_tweak/custom_name/gear_tweak_free_name = new()
var/global/datum/gear_tweak/custom_name/gear_tweak_free_name = new()
/datum/gear_tweak/custom_name
var/list/valid_custom_names
@@ -182,7 +182,7 @@ var/datum/gear_tweak/custom_name/gear_tweak_free_name = new()
/*
Custom Description
*/
var/datum/gear_tweak/custom_desc/gear_tweak_free_desc = new()
var/global/datum/gear_tweak/custom_desc/gear_tweak_free_desc = new()
/datum/gear_tweak/custom_desc
var/list/valid_custom_desc
@@ -1,5 +1,5 @@
var/list/loadout_categories = list()
var/list/gear_datums = list()
var/global/list/loadout_categories = list()
var/global/list/gear_datums = list()
/datum/loadout_category
var/category = ""
@@ -1,6 +1,6 @@
var/list/trait_datums = list() // Assoc list using name = instance. Traits are saved as a list of strings.
var/list/trait_type_to_ref = list() // Similar to above but uses paths, which is more reliable but more risky to save.
var/list/trait_categories = list() // The categories available for the trait menu.
var/global/list/trait_datums = list() // Assoc list using name = instance. Traits are saved as a list of strings.
var/global/list/trait_type_to_ref = list() // Similar to above but uses paths, which is more reliable but more risky to save.
var/global/list/trait_categories = list() // The categories available for the trait menu.
/hook/startup/proc/populate_trait_list()