mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 14:08:44 +01:00
Fixes an advanced medical scanner bug
This commit is contained in:
@@ -287,8 +287,9 @@
|
||||
var/bloodData[0]
|
||||
if(H.vessel)
|
||||
var/blood_volume = round(H.vessel.get_reagent_amount("blood"))
|
||||
var/blood_max = H.species.blood_volume
|
||||
bloodData["volume"] = blood_volume
|
||||
bloodData["percent"] = round(((blood_volume / 560)*100))
|
||||
bloodData["percent"] = round(((blood_volume / blood_max)*100))
|
||||
|
||||
occupantData["blood"] = bloodData
|
||||
|
||||
|
||||
Reference in New Issue
Block a user