Non-mobs aren't allies

This commit is contained in:
atermonera
2021-03-22 20:27:00 -09:00
parent 3a82d38de4
commit 4196b10f03

View File

@@ -52,7 +52,7 @@
return say(message)
/mob/living/proc/IIsAlly(mob/living/L)
return src.faction == L.faction
return istype(L) && src.faction == L.faction
/mob/living/simple_mob/IIsAlly(mob/living/L)
. = ..()