diff --git a/code/_onclick/xeno.dm b/code/_onclick/xeno.dm index 99b6e96459a7..1ef89999eea6 100644 --- a/code/_onclick/xeno.dm +++ b/code/_onclick/xeno.dm @@ -22,12 +22,13 @@ if (!L.is_xeno_grabbable() || L == src) //Xenos never attack themselves. continue - if(!isxeno(L)) + var/isxeno = isxeno(L) + if(!isxeno) non_xeno_target = L if (L.body_position == LYING_DOWN) alt = L continue - else if (!isxeno(L)) + else if (!isxeno) break target = L if (target == T && alt)