Fixes Slimes attacking slime people.

This commit is contained in:
phil235
2014-12-14 16:31:28 +01:00
parent 0b26a71a71
commit 7ff196a67d
+2 -2
View File
@@ -347,10 +347,10 @@
if(issilicon(L) && (rabid || attacked)) // They can't eat silicons, but they can glomp them in defence
targets += L // Possible target found!
if(istype(L, /mob/living/carbon/human) && dna) //Ignore slime(wo)men
if(istype(L, /mob/living/carbon/human)) //Ignore slime(wo)men
var/mob/living/carbon/human/H = L
if(H.dna)
if(/mob/living/carbon/slime in H.dna.species.ignored_by)
if(src.type in H.dna.species.ignored_by)
continue
if(!L.canmove) // Only one slime can latch on at a time.