From 84b9c4bb2b56c87c834dc8048666e00ede713262 Mon Sep 17 00:00:00 2001 From: LetterJay Date: Sun, 21 Jan 2018 23:09:22 -0600 Subject: [PATCH] Update life.dm --- code/modules/mob/living/simple_animal/slime/life.dm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/code/modules/mob/living/simple_animal/slime/life.dm b/code/modules/mob/living/simple_animal/slime/life.dm index 59b37e4562..bf03dcc6a7 100644 --- a/code/modules/mob/living/simple_animal/slime/life.dm +++ b/code/modules/mob/living/simple_animal/slime/life.dm @@ -9,8 +9,6 @@ /mob/living/simple_animal/slime/Life() set invisibility = 0 - set background = BACKGROUND_ENABLED - if (notransform) return if(..()) @@ -339,15 +337,16 @@ if(L in Friends) // No eating friends! continue - var/ally = FALSE - for(var/F in faction) + 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(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!