From 2b5e15c1c8d9ef21790d77590df8ccd440e821cb Mon Sep 17 00:00:00 2001 From: KorPhaeron Date: Sat, 21 Jan 2017 12:18:31 -0600 Subject: [PATCH] Megafauna won't heal while on station --- .../mob/living/simple_animal/hostile/megafauna/megafauna.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/hostile/megafauna/megafauna.dm b/code/modules/mob/living/simple_animal/hostile/megafauna/megafauna.dm index 29e0dfcbabd..1a8e8a44c7a 100644 --- a/code/modules/mob/living/simple_animal/hostile/megafauna/megafauna.dm +++ b/code/modules/mob/living/simple_animal/hostile/megafauna/megafauna.dm @@ -97,7 +97,8 @@ visible_message( "[src] devours [L]!", "You feast on [L], restoring your health!") - adjustBruteLoss(-L.maxHealth/2) + if(z != ZLEVEL_STATION && !client) //NPC monsters won't heal while on station + adjustBruteLoss(-L.maxHealth/2) L.gib() /mob/living/simple_animal/hostile/megafauna/ex_act(severity, target)