Skip to content

Commit

Permalink
Medical - Adds the classname to the IV bag array (#10551)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cplhardcore authored Dec 16, 2024
1 parent 0c47111 commit d72d288
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if (!isNil {_unit getVariable QEGVAR(medical,ivBags)}) then {
if (_bagVolumeRemaining < 0.01) then {
[]
} else {
[_bagVolumeRemaining, _type, _bodyPart]
[_bagVolumeRemaining, _type, _bodyPart, _classname]
};
};

Expand Down
2 changes: 1 addition & 1 deletion addons/medical_treatment/functions/fnc_ivBagLocal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ private _type = GET_STRING(_ivConfig >> "type",getText (_defaultConfig >> "typ

// Add IV bag to patient's ivBags array
private _ivBags = _patient getVariable [QEGVAR(medical,ivBags), []];
_ivBags pushBack [_volume, _type, _partIndex];
_ivBags pushBack [_volume, _type, _partIndex, _classname];
_patient setVariable [QEGVAR(medical,ivBags), _ivBags, true];

0 comments on commit d72d288

Please sign in to comment.