Skip to content

Commit

Permalink
Missing } in civinfo_task.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
veteran29 committed Aug 5, 2020
1 parent 0ee171e commit f98296b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if (KP_liberation_civinfo_debug > 0) then {[format ["civinfo_task.sqf spawned on
private _spawn_marker = [2000,999999,false] call KPLIB_fnc_getOpforSpawnPoint;
private _roadObj = [markerPos _spawn_marker, 400, []] call BIS_fnc_nearestRoad;

if (isNull _roadObj) exitWith {if (KP_liberation_civinfo_debug > 0) then {["civinfo_task.sqf -> no road found", "CIVINFO"] remoteExecCall ["KPLIB_fnc_log", 2];};
if (isNull _roadObj) exitWith {if (KPLIB_civinfo_debug > 0) then {["civinfo_task.sqf -> no road found", "CIVINFO"] remoteExecCall ["KPLIB_fnc_log", 2];};};

private _veh = createVehicle [opfor_mrap, getPos _roadObj, [], 0, "NONE"];
_veh setDir (getDir _roadObj);
Expand Down

0 comments on commit f98296b

Please sign in to comment.