Skip to content

Commit

Permalink
Fixed: wrong parameter format used when calling getGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
Killswitch00 committed Oct 11, 2015
1 parent 7406f6b commit 6a4ab28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/ai/fnc_taskAttack.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Author:

params ["_group","_position", ["_radius",0]];

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

[_group, _position, _radius, "SAD", "COMBAT", "RED"] call CBA_fnc_addWaypoint;
2 changes: 1 addition & 1 deletion addons/ai/fnc_taskDefend.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Author:

params ["_group", ["_position",[]], ["_radius",50], ["_threshold",2]];

_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 6a4ab28

Please sign in to comment.