From 2faa3379aea5893951617c3465c823b2082939ee Mon Sep 17 00:00:00 2001 From: Glowbal Date: Sun, 15 Jul 2018 18:29:18 +0200 Subject: [PATCH] Fix getBloodloss --- addons/medical_status/functions/fnc_getBloodLoss.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical_status/functions/fnc_getBloodLoss.sqf b/addons/medical_status/functions/fnc_getBloodLoss.sqf index 438a3d8f98..1cc22317e2 100644 --- a/addons/medical_status/functions/fnc_getBloodLoss.sqf +++ b/addons/medical_status/functions/fnc_getBloodLoss.sqf @@ -24,7 +24,7 @@ private _bodyPartBleeding = [0,0,0,0,0,0]; if (_tourniquets select _bodyPart == 0) then { _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 };