diff --git a/code/modules/loadout/categories/pocket.dm b/code/modules/loadout/categories/pocket.dm index a06b2d65efa..b9be93aec20 100644 --- a/code/modules/loadout/categories/pocket.dm +++ b/code/modules/loadout/categories/pocket.dm @@ -96,7 +96,7 @@ their_loadout = manager.preferences.read_preference(/datum/preference/loadout) // after sleep: sanity check if(their_loadout?[item_path]) // Validate they still have it equipped their_loadout[item_path][INFO_LAYER] = chosen - manager.preferences.update_preference(/datum/preference/loadout, their_loadout) + manager.preferences.update_preference(GLOB.preference_entries[/datum/preference/loadout], their_loadout) return TRUE // Update UI if("select_lipstick_color") @@ -106,7 +106,7 @@ their_loadout = manager.preferences.read_preference(/datum/preference/loadout) // after sleep: sanity check if(their_loadout?[item_path]) // Validate they still have it equipped their_loadout[item_path][INFO_GREYSCALE] = chosen - manager.preferences.update_preference(/datum/preference/loadout, their_loadout) + manager.preferences.update_preference(GLOB.preference_entries[/datum/preference/loadout], their_loadout) return TRUE // Update UI return ..()