Merge pull request #4968 from Citadel-Station-13/upstream-merge-34667

[MIRROR] Fixes slimes not attacking anybody
This commit is contained in:
deathride58
2018-01-22 06:25:14 +00:00
committed by GitHub

View File

@@ -9,8 +9,6 @@
/mob/living/simple_animal/slime/Life()
set invisibility = 0
set background = BACKGROUND_ENABLED
if (notransform)
return
if(..())
@@ -341,6 +339,8 @@
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