mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge branch 'medical-rewrite' of https://github.com/acemod/ACE3 into medical-rewrite
This commit is contained in:
commit
196a3999a4
@ -19,10 +19,9 @@ params ["_unit", "_deltaT", "_syncValues"];
|
||||
private _bloodVolume = _unit getVariable [QGVAR(bloodVolume), DEFAULT_BLOOD_VOLUME];
|
||||
private _bloodVolumeChange = -_deltaT * (_unit call FUNC(getBloodLoss));
|
||||
|
||||
private _tourniquets = _unit getVariable [QGVAR(tourniquets), [0,0,0,0,0,0]];
|
||||
|
||||
if (!isNil {_unit getVariable QGVAR(ivBags)}) then {
|
||||
private _bloodBags = _unit getVariable [QGVAR(ivBags), []];
|
||||
private _tourniquets = _unit getVariable [QGVAR(tourniquets), [0,0,0,0,0,0]];
|
||||
|
||||
_bloodBags = _bloodBags apply {
|
||||
_x params ["_bagVolumeRemaining", "_type", "_bodyPart"];
|
||||
|
Loading…
Reference in New Issue
Block a user