mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 12:13:06 +00:00
Merge pull request #10054 from VOREStation/upstream-merge-7999
[MIRROR] Non-mobs aren't allies
This commit is contained in:
committed by
Chompstation Bot
parent
b9581e43cf
commit
14c06e288a
@@ -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