mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
Fixed a rogue square bracket and a BPM repetition in the health analyzer scan results. (#18156)
* fix rogue bracket * Fixes some health analyzer scan errors. --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -166,15 +166,16 @@ BREATH ANALYZER
|
||||
pulse_result = "<span class='danger'>0</span>"
|
||||
else
|
||||
pulse_result = H.get_pulse(GETPULSE_TOOL)
|
||||
pulse_result = "<span class='scan_green'>[pulse_result] BPM</span>"
|
||||
if(H.pulse() == PULSE_NONE)
|
||||
pulse_result = "<span class='scan_danger'>[pulse_result] BPM</span>"
|
||||
else if(H.pulse() < PULSE_NORM)
|
||||
pulse_result = "<span class='scan_notice'>[pulse_result] BPM</span>"
|
||||
else if(H.pulse() > PULSE_NORM)
|
||||
pulse_result = "<span class='scan_warning'>[pulse_result] BPM</span>"
|
||||
else
|
||||
pulse_result = "<span class='scan_green'>[pulse_result] BPM</span>"
|
||||
else
|
||||
pulse_result = "<span class='scan_danger'>0 BPM</span>"
|
||||
pulse_result = "<span class='scan_danger'>0</span>"
|
||||
dat += "Pulse rate: [pulse_result]"
|
||||
|
||||
// Body temperature. Rounds to one digit after decimal.
|
||||
@@ -208,7 +209,7 @@ BREATH ANALYZER
|
||||
blood_volume_string = "<span class='scan_danger'>\<[BLOOD_VOLUME_SURVIVE]%</span>"
|
||||
|
||||
var/oxygenation = H.get_blood_oxygenation()
|
||||
var/oxygenation_string = "<span class='scan_green'>[oxygenation]]%</span>"
|
||||
var/oxygenation_string = "<span class='scan_green'>[oxygenation]%</span>"
|
||||
switch(oxygenation)
|
||||
if(BLOOD_VOLUME_OKAY to BLOOD_VOLUME_SAFE)
|
||||
oxygenation_string = "<span class='scan_notice'>[oxygenation]%</span>"
|
||||
|
||||
Reference in New Issue
Block a user