Megafauna won't heal while on station

This commit is contained in:
KorPhaeron
2017-01-21 12:18:31 -06:00
parent 9fff5ab55f
commit 2b5e15c1c8
@@ -97,7 +97,8 @@
visible_message(
"<span class='danger'>[src] devours [L]!</span>",
"<span class='userdanger'>You feast on [L], restoring your health!</span>")
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)