Fix extra {} wraped

Error position: <if ({[_unit] call ace_medical_fnc_setDea>
Error if: Type code, expected Bool
File z\ace\addons\medical\functions\fnc_handleDamage.sqf, line 50
This commit is contained in:
PabstMirror 2015-04-29 16:44:47 -05:00
parent 581c64f66f
commit a39e869728

View File

@ -62,7 +62,7 @@ if (GVAR(level) < 2) then {
if ((_unit getVariable [QGVAR(preventInstaDeath), GVAR(preventInstaDeath)])) exitwith {
_damageReturn = 0.9;
};
if ({[_unit] call FUNC(setDead)}) then {
if ([_unit] call FUNC(setDead)) then {
_damageReturn = 1;
} else {
_damageReturn = _damageReturn min 0.89;