mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
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:
parent
581c64f66f
commit
a39e869728
@ -62,7 +62,7 @@ if (GVAR(level) < 2) then {
|
|||||||
if ((_unit getVariable [QGVAR(preventInstaDeath), GVAR(preventInstaDeath)])) exitwith {
|
if ((_unit getVariable [QGVAR(preventInstaDeath), GVAR(preventInstaDeath)])) exitwith {
|
||||||
_damageReturn = 0.9;
|
_damageReturn = 0.9;
|
||||||
};
|
};
|
||||||
if ({[_unit] call FUNC(setDead)}) then {
|
if ([_unit] call FUNC(setDead)) then {
|
||||||
_damageReturn = 1;
|
_damageReturn = 1;
|
||||||
} else {
|
} else {
|
||||||
_damageReturn = _damageReturn min 0.89;
|
_damageReturn = _damageReturn min 0.89;
|
||||||
|
Loading…
Reference in New Issue
Block a user