Fixes blood volume reading for health analyzers (#17637)

Blood volume switch uses get_blood_volume() instead of get_blood_oxygenation().
This commit is contained in:
Andrew
2023-10-21 18:00:00 +00:00
committed by GitHub
parent 04f4b4cc5c
commit 21f871906b
2 changed files with 42 additions and 1 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ BREATH ANALYZER
blood_pressure_string = "<span class='scan_danger'>[H.get_blood_pressure()]</span>"
var/blood_volume_string = "<span class='scan_green'>\>[BLOOD_VOLUME_SAFE]%</span>"
switch(H.get_blood_oxygenation())
switch(H.get_blood_volume())
if(BLOOD_VOLUME_OKAY to BLOOD_VOLUME_SAFE)
blood_volume_string = "<span class='scan_notice'>\<[BLOOD_VOLUME_SAFE]%</span>"
if(BLOOD_VOLUME_SURVIVE to BLOOD_VOLUME_OKAY)