Skip to content

Commit

Permalink
fixes synth targeting return
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Oct 28, 2023
1 parent 3b24bbd commit 925abd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/modules/mob/living/carbon/xenomorph/ai/xeno_ai.dm
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ GLOBAL_LIST_INIT(ai_target_limbs, list(
var/smallest_distance = INFINITY
for(var/mob/living/carbon/human/alive_human as anything in GLOB.alive_human_list)
if(alive_human.species.flags & IS_SYNTHETIC)
return pick(viable_humans)
continue

if(z != alive_human.z)
continue
var/distance = get_dist(src, alive_human)
Expand Down

0 comments on commit 925abd7

Please sign in to comment.