diff --git a/A3A/addons/ultimate/functions/vehicles/fn_setLock.sqf b/A3A/addons/ultimate/functions/vehicles/fn_setLock.sqf index 6e03621305..eaa118fa50 100644 --- a/A3A/addons/ultimate/functions/vehicles/fn_setLock.sqf +++ b/A3A/addons/ultimate/functions/vehicles/fn_setLock.sqf @@ -22,7 +22,7 @@ params [ ]; if (_vehicle isEqualTo ObjNull || {isNil "_vehicle"}) exitWith {false}; -if (!(alive) _vehicle) exitWith {false}; +if (alive _vehicle isEqualTo false) exitWith {false}; _vehicle lock _state;