Skip to content

Commit

Permalink
adds hivenumber check
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuuhuuuu committed Jan 21, 2024
1 parent 02f3a90 commit 502e16d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/cm_aliens/structures/special/recovery_node.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
for(var/mob/living/carbon/xenomorph/xenomorph in range(recovery_pheromone_range, loc))
if(xenomorph.ignores_pheromones)
continue
if(recovery_strenght > xenomorph.recovery_new)
if(recovery_strenght > xenomorph.recovery_new && linked_hive == xenomorph.hivenumber)
xenomorph.recovery_new = recovery_strenght

for(var/mob/living/carbon/xenomorph/xenomorph in range(warding_pheromone_range, loc))
if(xenomorph.ignores_pheromones)
continue
if(warding_strenght > xenomorph.warding_new)
if(warding_strenght > xenomorph.warding_new && linked_hive == xenomorph.hivenumber)
xenomorph.recovery_new = warding_strenght

0 comments on commit 502e16d

Please sign in to comment.