diff --git a/addons/zeus/functions/fnc_moduleKnockout.sqf b/addons/zeus/functions/fnc_moduleKnockout.sqf index 2c26c79c73..5f416cb771 100644 --- a/addons/zeus/functions/fnc_moduleKnockout.sqf +++ b/addons/zeus/functions/fnc_moduleKnockout.sqf @@ -28,10 +28,10 @@ if (isNil QEFUNC(medical,setUnconscious)) then { if (isNull _unit) then { ["Place on a unit"] call DEFUNC(common,displayTextStructured); } else { - if (!_unit isKindOf "CAManBase") then { + if !(_unit isKindOf "CAManBase") then { ["Unit must be infantry"] call DEFUNC(common,displayTextStructured); } else { - if (!alive _unit) then { + if !(alive _unit) then { ["Unit must be alive"] call DEFUNC(common,displayTextStructured); } else { _conscious = GETVAR(_unit,ACE_isUnconscious,false); diff --git a/addons/zeus/functions/fnc_moduleSurrender.sqf b/addons/zeus/functions/fnc_moduleSurrender.sqf index cfcfecb675..fea0ed6e07 100644 --- a/addons/zeus/functions/fnc_moduleSurrender.sqf +++ b/addons/zeus/functions/fnc_moduleSurrender.sqf @@ -28,10 +28,10 @@ if (isNil QEFUNC(captives,setSurrendered)) then { if (isNull _unit) then { ["Place on a unit"] call DEFUNC(common,displayTextStructured); } else { - if (!_unit isKindOf "CAManBase") then { + if !(_unit isKindOf "CAManBase") then { ["Unit must be infantry"] call DEFUNC(common,displayTextStructured); } else { - if (!alive _unit) then { + if !(alive _unit) then { ["Unit must be alive"] call DEFUNC(common,displayTextStructured); } else { _surrendering = GETVAR(_unit,EGVAR(captives,isSurrendering),false);