diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index 6e078326fe..68fcba514d 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -397,7 +397,7 @@ datum/preferences dat += "Set Flavor Text
" - dat += "pAI Configuration
" dat += "
" dat += "
Hair
" @@ -1001,16 +1001,16 @@ datum/preferences user << "\red That item will exceed the maximum loadout cost of [MAX_GEAR_COST] points." else if(href_list["task"] == "remove") - + if(isnull(gear) || !islist(gear)) gear = list() if(!gear.len) return - + var/choice = input(user, "Select gear to remove: ") as null|anything in gear if(!choice) return - + for(var/gear_name in gear) if(gear_name == choice) gear -= gear_name