Update life.dm

This commit is contained in:
LetterJay
2018-01-21 14:14:19 -06:00
committed by GitHub
parent e3df465eba
commit e02d7ae786
@@ -338,12 +338,14 @@
if(L in Friends) // No eating friends!
continue
var/ally = FALSE
for(var/F in faction)
if(F == "neutral") //slimes are neutral so other mobs not target them, but they can target neutral mobs
if(F in L.faction)
ally = TRUE
break
var/ally = FALSE
for(var/F in faction)
+ if(F == "neutral") //slimes are neutral so other mobs not target them, but they can target neutral mobs
+ continue
if(F in L.faction)
ally = TRUE
break
if(ally)
continue
if(issilicon(L) && (rabid || attacked)) // They can't eat silicons, but they can glomp them in defence