Skip to content

Commit

Permalink
Fix t-dome evolution affecting hive slots
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Aug 18, 2023
1 parent 12a0843 commit f51f394
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions code/modules/mob/living/carbon/xenomorph/Evolution.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f51f394

Please sign in to comment.