mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
Fixes some cases where fakedeath doesn't work. (#16404)
Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
|
||||
/mob/living/carbon/human/proc/get_blood_oxygenation()
|
||||
var/blood_volume = get_blood_circulation()
|
||||
if(is_asystole()) // Heart is missing or isn't beating and we're not breathing (hardcrit)
|
||||
if(is_asystole() || (status_flags & FAKEDEATH)) // Heart is missing or isn't beating and we're not breathing (hardcrit)
|
||||
return min(blood_volume, BLOOD_VOLUME_SURVIVE)
|
||||
|
||||
if(!need_breathe())
|
||||
|
||||
@@ -340,6 +340,9 @@
|
||||
if(owner.failed_last_breath)
|
||||
return "no respiration"
|
||||
|
||||
if(owner.status_flags & FAKEDEATH)
|
||||
return "no respiration"
|
||||
|
||||
if(BP_IS_ROBOTIC(src))
|
||||
if(is_bruised())
|
||||
return "malfunctioning fans"
|
||||
|
||||
Reference in New Issue
Block a user