Skip to content

Commit

Permalink
Merge pull request #177 from Dorbedo/Issue175-taskPatrol
Browse files Browse the repository at this point in the history
fixes the typo named in #175
  • Loading branch information
Killswitch00 committed Oct 11, 2015
2 parents 4f1daaf + eccb431 commit be83043
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions addons/ai/fnc_taskPatrol.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@ Author:

#include "script_component.hpp"

#define NULL "$null$"

params ["_group", ["_position",[]], ["_radius",100], ["_count",3]];

_group = [_group] call CBA_fnc_getGroup;
_group = _group call CBA_fnc_getGroup;
if !(local _group) exitWith {}; // Don't create waypoints on each machine

_position = [_position,_group] select (_position isEqualTo []);
Expand Down

0 comments on commit be83043

Please sign in to comment.