mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix getBloodloss
This commit is contained in:
parent
6576e5d014
commit
2faa3379ae
@ -24,7 +24,7 @@ private _bodyPartBleeding = [0,0,0,0,0,0];
|
|||||||
if (_tourniquets select _bodyPart == 0) then {
|
if (_tourniquets select _bodyPart == 0) then {
|
||||||
_bodyPartBleeding set [_bodyPart, (_bodyPartBleeding select _bodyPart) + (_amountOf * _bleeeding)];
|
_bodyPartBleeding set [_bodyPart, (_bodyPartBleeding select _bodyPart) + (_amountOf * _bleeeding)];
|
||||||
};
|
};
|
||||||
} forEach (_unit getVariable [QGVAR(openWounds), []]);
|
} forEach (_unit getVariable [QEGVAR(medical,openWounds), []]);
|
||||||
|
|
||||||
if (_bodyPartBleeding isEqualTo [0,0,0,0,0,0]) exitWith { 0 };
|
if (_bodyPartBleeding isEqualTo [0,0,0,0,0,0]) exitWith { 0 };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user