diff --git a/code/game/data_huds.dm b/code/game/data_huds.dm index c79ca11bfab..121838ee304 100644 --- a/code/game/data_huds.dm +++ b/code/game/data_huds.dm @@ -71,6 +71,7 @@ //HELPERS /// Whether the carbon mob is currently in crit. +// Even though "crit" does not realistically happen for non-humans.. /mob/living/carbon/proc/is_in_crit() for(var/thing in viruses) var/datum/disease/D = thing @@ -78,6 +79,13 @@ return TRUE return FALSE +/mob/living/carbon/human/is_in_crit() + if(..()) + return TRUE + if(undergoing_cardiac_arrest()) + return TRUE + return FALSE + /// Whether a virus worthy displaying on the HUD is present. /mob/living/carbon/proc/has_virus() for(var/thing in viruses)