Skip to content

Commit

Permalink
change lock alive check
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenceIsFatto committed Aug 30, 2024
1 parent af6adb7 commit f1a161f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion A3A/addons/ultimate/functions/vehicles/fn_setLock.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f1a161f

Please sign in to comment.