Merge pull request #4954 from Citadel-Station-13/upstream-merge-34591
[MIRROR] Fixes slimes attacking people with the slime faction
This commit is contained in:
@@ -339,6 +339,14 @@
|
||||
if(L in Friends) // No eating friends!
|
||||
continue
|
||||
|
||||
var/ally = FALSE
|
||||
for(var/F in faction)
|
||||
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
|
||||
targets += L // Possible target found!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user