From e277cf292b3acd3e1c27d2868f4a60ed53eb5273 Mon Sep 17 00:00:00 2001 From: Fox-McCloud Date: Fri, 1 Apr 2016 01:11:11 -0400 Subject: [PATCH] Headcrab Fix --- code/modules/mob/living/simple_animal/hostile/headcrab.dm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/simple_animal/hostile/headcrab.dm b/code/modules/mob/living/simple_animal/hostile/headcrab.dm index 4dd8862b4a9..b470f0506ff 100644 --- a/code/modules/mob/living/simple_animal/hostile/headcrab.dm +++ b/code/modules/mob/living/simple_animal/hostile/headcrab.dm @@ -80,8 +80,12 @@ if(origin && origin.current && (origin.current.stat == DEAD)) origin.transfer_to(M) - if(origin.changeling) - origin.changeling.purchasedpowers += new /obj/effect/proc_holder/changeling/humanform(null) + if(!origin.changeling) + M.make_changeling() + if(origin.changeling.can_absorb_dna(M, owner)) + origin.changeling.absorb_dna(owner, M) + + origin.changeling.purchasedpowers += new /obj/effect/proc_holder/changeling/humanform(null) M.key = origin.key owner.gib()