Fix getBloodloss

This commit is contained in:
Glowbal 2018-07-15 18:29:18 +02:00
parent 6576e5d014
commit 2faa3379ae

View File

@ -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 };