diff --git a/code/modules/mob/living/carbon/human/species/outsider/undead.dm b/code/modules/mob/living/carbon/human/species/outsider/undead.dm index 745258921e3..f2a3babad5e 100644 --- a/code/modules/mob/living/carbon/human/species/outsider/undead.dm +++ b/code/modules/mob/living/carbon/human/species/outsider/undead.dm @@ -92,7 +92,7 @@ hud_type = /datum/hud_data/construct /datum/species/skeleton/handle_death_check(var/mob/living/carbon/human/H) - if(H.get_total_health() <= total_health) + if(H.get_total_health() <= 0) return TRUE return FALSE @@ -146,7 +146,7 @@ qdel(H) /datum/species/apparition/handle_death_check(var/mob/living/carbon/human/H) - if(H.get_total_health() <= total_health) + if(H.get_total_health() <= 0) return TRUE return FALSE diff --git a/code/modules/mob/living/carbon/human/species/station/diona/diona.dm b/code/modules/mob/living/carbon/human/species/station/diona/diona.dm index fb79b2545ba..edee8e1d9f7 100644 --- a/code/modules/mob/living/carbon/human/species/station/diona/diona.dm +++ b/code/modules/mob/living/carbon/human/species/station/diona/diona.dm @@ -184,7 +184,7 @@ return current_flags /datum/species/diona/handle_death_check(var/mob/living/carbon/human/H) - if(H.get_total_health() <= total_health) + if(H.get_total_health() <= 0) return TRUE return FALSE diff --git a/code/modules/mob/living/carbon/human/species/station/golem.dm b/code/modules/mob/living/carbon/human/species/station/golem.dm index 2d2810d960e..88f29ba8183 100644 --- a/code/modules/mob/living/carbon/human/species/station/golem.dm +++ b/code/modules/mob/living/carbon/human/species/station/golem.dm @@ -119,7 +119,7 @@ var/global/list/golem_types = list("Coal Golem", qdel(H) /datum/species/golem/handle_death_check(var/mob/living/carbon/human/H) - if(H.get_total_health() <= total_health) + if(H.get_total_health() <= 0) return TRUE return FALSE diff --git a/code/modules/mob/living/carbon/human/species/station/ipc/ipc.dm b/code/modules/mob/living/carbon/human/species/station/ipc/ipc.dm index 51597a03b8a..3e8e97b7dc2 100644 --- a/code/modules/mob/living/carbon/human/species/station/ipc/ipc.dm +++ b/code/modules/mob/living/carbon/human/species/station/ipc/ipc.dm @@ -298,7 +298,7 @@ datum/species/machine/handle_post_spawn(var/mob/living/carbon/human/H) check_tag(H, H.client) /datum/species/machine/handle_death_check(var/mob/living/carbon/human/H) - if(H.get_total_health() <= total_health) + if(H.get_total_health() <= 0) return TRUE return FALSE