From b359263b6bb1376582804a8ea158909b923f8ef8 Mon Sep 17 00:00:00 2001 From: Beagle <56142455+BeagleGaming1@users.noreply.github.com> Date: Sat, 1 Jul 2023 00:45:44 -0400 Subject: [PATCH] I'm meant to actually test my code? --- .../carbon/xenomorph/mutators/strains/runner/acid.dm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/carbon/xenomorph/mutators/strains/runner/acid.dm b/code/modules/mob/living/carbon/xenomorph/mutators/strains/runner/acid.dm index 400b79e711e8..e5ada21a9e11 100644 --- a/code/modules/mob/living/carbon/xenomorph/mutators/strains/runner/acid.dm +++ b/code/modules/mob/living/carbon/xenomorph/mutators/strains/runner/acid.dm @@ -83,10 +83,9 @@ new /datum/effects/acid(target_mob, bound_xeno, initial(bound_xeno.caste_type)) if(isxeno_human(target_mob)) //Will the runner get acid stacks - if(/obj/item/alien_embryo in target_mob.contents) - var/obj/item/alien_embryo/embryo - if(embryo.stage >= 4) //Late stage hugged incase the runner unnests them - return + var/obj/item/alien_embryo/embryo = locate(/obj/item/alien_embryo) in target_mob.contents + if(embryo?.stage >= 4) //Late stage hugged incase the runner unnests them + return if(target_mob.lying) modify_acid(acid_slash_regen_lying)