From f51f3944c502060f156a070145eaa532f9cb5630 Mon Sep 17 00:00:00 2001 From: Drulikar Date: Fri, 18 Aug 2023 08:26:23 -0700 Subject: [PATCH] Fix t-dome evolution affecting hive slots --- .../modules/mob/living/carbon/xenomorph/Evolution.dm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/code/modules/mob/living/carbon/xenomorph/Evolution.dm b/code/modules/mob/living/carbon/xenomorph/Evolution.dm index c47c4fc2a114..a05dd9b04464 100644 --- a/code/modules/mob/living/carbon/xenomorph/Evolution.dm +++ b/code/modules/mob/living/carbon/xenomorph/Evolution.dm @@ -134,11 +134,13 @@ qdel(new_xeno) return - switch(new_xeno.tier) //They have evolved, add them to the slot count - if(2) - hive.tier_2_xenos |= new_xeno - if(3) - hive.tier_3_xenos |= new_xeno + var/area/xeno_area = get_area(new_xeno) + if(!is_admin_level(new_xeno.z) || (xeno_area.flags_atom & AREA_ALLOW_XENO_JOIN)) + switch(new_xeno.tier) //They have evolved, add them to the slot count IF they are in regular game space + if(2) + hive.tier_2_xenos |= new_xeno + if(3) + hive.tier_3_xenos |= new_xeno log_game("EVOLVE: [key_name(src)] evolved into [new_xeno].") if(mind)