From 83b0a01bffe25f76bcc66f9fb1d6eb49591da985 Mon Sep 17 00:00:00 2001 From: ROdenFL <144662735+ROdenFL@users.noreply.github.com> Date: Sat, 28 Oct 2023 18:49:15 +0300 Subject: [PATCH] bugfix: empty dna storage of headslugs --- code/modules/mob/living/simple_animal/hostile/headslug.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/hostile/headslug.dm b/code/modules/mob/living/simple_animal/hostile/headslug.dm index d132fad92ff..4230fbcd2e4 100644 --- a/code/modules/mob/living/simple_animal/hostile/headslug.dm +++ b/code/modules/mob/living/simple_animal/hostile/headslug.dm @@ -133,8 +133,10 @@ cling.give_power(new /datum/action/changeling/humanform) monka.key = origin.key monka.revive() // better make sure some weird shit doesn't happen, because it has in the past P.S. some weird shit still happen + if(cling.absorbed_count == 0) + var/mob/living/carbon/human/rand_dna = new + cling.absorb_dna(rand_dna) owner.gib() - #undef EGG_INCUBATION_DEAD_TIME #undef EGG_INCUBATION_LIVING_TIME