From f9eb1b503dd940394f16e51091a8a26895fa758c Mon Sep 17 00:00:00 2001 From: Drulikar Date: Mon, 6 Nov 2023 11:49:13 -0800 Subject: [PATCH] W --- .../modules/gear_presets/_select_equipment.dm | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/code/modules/gear_presets/_select_equipment.dm b/code/modules/gear_presets/_select_equipment.dm index e719d9458dd9..39f832ea8ca8 100644 --- a/code/modules/gear_presets/_select_equipment.dm +++ b/code/modules/gear_presets/_select_equipment.dm @@ -110,22 +110,22 @@ /datum/equipment_preset/proc/load_id(mob/living/carbon/human/new_human, client/mob_client) if(!idtype) return - var/obj/item/card/id/W = new idtype() - W.name = "[new_human.real_name]'s ID Card" + var/obj/item/card/id/ID = new idtype() + ID.name = "[new_human.real_name]'s ID Card" if(assignment) - W.name += " ([assignment])" - W.access = access.Copy(1, 0) - W.faction = faction - W.faction_group = faction_group.Copy() - W.assignment = assignment - W.rank = rank - W.registered_name = new_human.real_name - W.registered_ref = WEAKREF(new_human) - W.registered_gid = new_human.gid - W.blood_type = new_human.blood_type - W.paygrade = load_rank(new_human) || W.paygrade - W.uniform_sets = uniform_sets - new_human.equip_to_slot_or_del(W, WEAR_ID) + ID.name += " ([assignment])" + ID.access = access.Copy(1, 0) + ID.faction = faction + ID.faction_group = faction_group.Copy() + ID.assignment = assignment + ID.rank = rank + ID.registered_name = new_human.real_name + ID.registered_ref = WEAKREF(new_human) + ID.registered_gid = new_human.gid + ID.blood_type = new_human.blood_type + ID.paygrade = load_rank(new_human) || ID.paygrade + ID.uniform_sets = uniform_sets + new_human.equip_to_slot_or_del(ID, WEAR_ID) new_human.faction = faction new_human.faction_group = faction_group.Copy() if(new_human.mind)