From f698eacaeff025c69b6c9973a50b089cceb4c5f2 Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Wed, 13 Sep 2023 12:01:21 -0500 Subject: [PATCH] machine people are no longer affected by headslugs (#22323) --- code/modules/mob/living/simple_animal/hostile/headslug.dm | 2 +- 1 file changed, 1 insertion(+), 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 be30e6efa36..d661ce68694 100644 --- a/code/modules/mob/living/simple_animal/hostile/headslug.dm +++ b/code/modules/mob/living/simple_animal/hostile/headslug.dm @@ -44,7 +44,7 @@ egg_layed = TRUE /mob/living/simple_animal/hostile/headslug/AltClickOn(mob/living/carbon/carbon_target) - if(egg_layed || !istype(carbon_target) || !Adjacent(carbon_target)) + if(egg_layed || !istype(carbon_target) || !Adjacent(carbon_target) || ismachineperson(carbon_target)) return ..() if(carbon_target.stat != DEAD && !do_mob(src, carbon_target, 5 SECONDS)) return