mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
machine people are no longer affected by headslugs (#22323)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user