Fixes diona regeneration bug. (#8046)

Opening a new PR because I closed my first one accidentally trying to figure out why Travis was being upset. Previous PR

Diona regen was depending on a health value calculated from brain damage, which they never had. Therefore it wouldn't trigger properly when the Diona sustained damage.

Fixes #7655
This commit is contained in:
mikomyazaki
2020-01-22 12:21:23 -03:00
committed by Alberyk
parent bb9d60ac7b
commit c5725f425d
2 changed files with 8 additions and 0 deletions
@@ -1,5 +1,7 @@
//Updates the mob's health from organs and mob damage variables
/mob/living/carbon/human/updatehealth()
if(is_diona())
return ..()
if(status_flags & GODMODE)
health = maxHealth