mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-31 09:00:25 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user