From 7dd5bc098de601a10276bfd10cae17f698fa4b22 Mon Sep 17 00:00:00 2001 From: xDanilcusx Date: Tue, 16 Jan 2024 14:36:55 +0300 Subject: [PATCH] XvX compat --- .../mob/living/carbon/xenomorph/ai/movement/facehugger.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/living/carbon/xenomorph/ai/movement/facehugger.dm b/code/modules/mob/living/carbon/xenomorph/ai/movement/facehugger.dm index 1e3d935d0a..bb109cdaff 100644 --- a/code/modules/mob/living/carbon/xenomorph/ai/movement/facehugger.dm +++ b/code/modules/mob/living/carbon/xenomorph/ai/movement/facehugger.dm @@ -78,6 +78,9 @@ #undef FIND_NEW_TRAVEL_RADIUS_MAX /mob/living/carbon/xenomorph/facehugger/check_mob_target(mob/living/carbon/human/checked_human) + if(!istype(checked_human)) + return FALSE // We don't wanna to attack anyone except humans (compat for soon coming XvX code) + if(istype(checked_human.wear_mask, /obj/item/clothing/mask/facehugger)) return FALSE