From e908552b444ff964ab97a53ebe864c15d95c9dbe Mon Sep 17 00:00:00 2001 From: Git-Nivrak <59925169+Git-Nivrak@users.noreply.github.com> Date: Fri, 14 Jun 2024 15:09:57 +0300 Subject: [PATCH] Update xeno.dm --- code/_onclick/xeno.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)