From d077784729dd72db935827547fabd201b89c1756 Mon Sep 17 00:00:00 2001 From: Verkister Date: Fri, 2 Mar 2018 11:20:14 +0200 Subject: [PATCH] Fixes drone borgs spawning with dropped IDs Someone had moved the thing back to the outcommented older code part without updating the old code there. --- code/modules/mob/living/carbon/human/human.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 47b82faaee9..4742e42c1d5 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -1538,13 +1538,13 @@ return species.fire_icon_state // Called by job_controller. Makes drones start with a permit, might be useful for other people later too. -/mob/living/carbon/human/equip_post_job() //Drone Permit moved to equip_survival_gear() +/mob/living/carbon/human/equip_post_job() var/braintype = get_FBP_type() if(braintype == FBP_DRONE) var/turf/T = get_turf(src) var/obj/item/clothing/accessory/permit/drone/permit = new(T) permit.set_name(real_name) - equip_to_appropriate_slot(permit) // If for some reason it can't find room, it'll still be on the floor. + equip_to_slot_or_del(permit, slot_in_backpack) /mob/living/carbon/human/proc/update_icon_special(var/mutable_appearance/ma, var/update_icons = TRUE) //For things such as teshari hiding and whatnot. if(hiding) // Hiding? Carry on. @@ -1556,4 +1556,4 @@ //Can put special species icon update proc calls here, if any are ever invented. if(update_icons) - update_icons() \ No newline at end of file + update_icons()