Skip to content

Commit

Permalink
Update fnc_getBloodVolumeChange.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
Cplhardcore committed Dec 3, 2024
1 parent cd5396c commit 579c2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/pharma/functions/fnc_getBloodVolumeChange.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if (!isNil {_unit getVariable [QACEGVAR(medical,ivBags),[]]}) then {

private _tourniquets = GET_TOURNIQUETS(_unit);

if ((_tourniquets select _bodyPart isEqualTo 0) && (_IVarray select _bodyPart isNotEqualTo 3) && (!(_type in ["Ringers Lactate", "Blood"]))) then {
if ((_tourniquets select _bodyPart isEqualTo 0) && (_IVarray select _bodyPart isNotEqualTo 3) && (!(_type in ["EtomidateInfusion", "EpinephrineInfusion", "MorphineInfusion"]))) then {
private _IVflow = _unit getVariable [QGVAR(IVflow), [0,0,0,0,0,0]];
private _viscosity = getNumber (configFile >> "ACE_Medical_Treatment" >> "IV" >> _className >> "viscosity");
private _bagChange = (_flowCalculation * (_IVflow select _bodyPart) * _viscosity) min _bagVolumeRemaining; // absolute value of the change in miliLiters
Expand Down

0 comments on commit 579c2da

Please sign in to comment.