Moves ALLY check up so mobs DONT maul their allies (#17074)

This commit is contained in:
Cameron Lennox
2025-02-08 14:10:39 -05:00
committed by GitHub
parent 1d116269f4
commit f326dec745
+2 -2
View File
@@ -135,6 +135,8 @@
return FALSE
if(isliving(the_target))
var/mob/living/L = the_target
if(holder.IIsAlly(L))
return FALSE
if(ishuman(L) || issilicon(L))
if(L.key && !L.client) // SSD players get a pass
return FALSE
@@ -162,8 +164,6 @@
set_stance(STANCE_IDLE)
return FALSE //Forgiven
//VOREStation add end
if(holder.IIsAlly(L))
return FALSE
return TRUE
if(istype(the_target, /obj/mecha))