From 04d1622bc9b3070aec31a156e7a506e10e270b35 Mon Sep 17 00:00:00 2001 From: F507DMT <12347771234@mail.ru> Date: Sun, 26 Mar 2017 23:27:26 +0600 Subject: [PATCH] Update fill_nearestVehicle.sqf (#1923) () - condition {} - code execution, heavier code --- SQF/dayz_code/actions/fill_nearestVehicle.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);