mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-16 05:02:18 +00:00
Non-mobs aren't allies
This commit is contained in:
@@ -52,7 +52,7 @@
|
|||||||
return say(message)
|
return say(message)
|
||||||
|
|
||||||
/mob/living/proc/IIsAlly(mob/living/L)
|
/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)
|
/mob/living/simple_mob/IIsAlly(mob/living/L)
|
||||||
. = ..()
|
. = ..()
|
||||||
|
|||||||
Reference in New Issue
Block a user