more fixes

This commit is contained in:
Timothy Teakettle
2020-12-06 22:14:35 +00:00
parent 53a434cfb1
commit e413fcb091
3 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -2927,7 +2927,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
/datum/preferences/proc/remove_gear_from_loadout(save_slot, gear_type)
var/find_gear = has_loadout_gear(save_slot, gear_type)
if(find_gear)
loadout_data["SAVE_[save_slot]"] -= find_gear
loadout_data["SAVE_[save_slot]"] -= list(find_gear)
#undef DEFAULT_SLOT_AMT
#undef HANDS_SLOT_AMT