diff --git a/SQF/dayz_code/actions/fill_nearestVehicle.sqf b/SQF/dayz_code/actions/fill_nearestVehicle.sqf index 1d1b9422d..671748ac0 100644 --- a/SQF/dayz_code/actions/fill_nearestVehicle.sqf +++ b/SQF/dayz_code/actions/fill_nearestVehicle.sqf @@ -15,7 +15,7 @@ if (!isNull _fuelTruck) then { _findNearestVehicle = []; { - if ((alive _x) && {_x != _fuelTruck} && {!(_x isKindOf "Man")}) exitWith { + if ((alive _x) && (_x != _fuelTruck) && (!(_x isKindOf "Man"))) exitWith { _findNearestVehicle set [(count _findNearestVehicle),_x]; }; } count (nearestObjects [player, ["AllVehicles"], 30]);