From 77e51603d4f38520a9606c42ea5264b73ef5f973 Mon Sep 17 00:00:00 2001 From: vuonojenmustaturska Date: Wed, 4 Apr 2018 14:58:12 +0300 Subject: [PATCH] move enforce_human_authority check before species.before_equip_job() --- code/modules/jobs/job_types/job.dm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/code/modules/jobs/job_types/job.dm b/code/modules/jobs/job_types/job.dm index 704722dc13..b4a973220c 100644 --- a/code/modules/jobs/job_types/job.dm +++ b/code/modules/jobs/job_types/job.dm @@ -67,18 +67,18 @@ if(!H) return 0 - //Equip the rest of the gear - H.dna.species.before_equip_job(src, H, visualsOnly) - - if(outfit) - H.equipOutfit(outfit, visualsOnly) - if(CONFIG_GET(flag/enforce_human_authority) && (title in GLOB.command_positions)) if(H.dna.species.id != "human") H.set_species(/datum/species/human) H.rename_self("human", H.client) purrbation_remove(H, silent=TRUE) + //Equip the rest of the gear + H.dna.species.before_equip_job(src, H, visualsOnly) + + if(outfit) + H.equipOutfit(outfit, visualsOnly) + H.dna.species.after_equip_job(src, H, visualsOnly) if(!visualsOnly && announce)