Skip to content

Commit

Permalink
code style, pushBackUnique
Browse files Browse the repository at this point in the history
  • Loading branch information
Fusselwurm committed Apr 3, 2020
1 parent 7e19c66 commit 4514ac7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functions/api/fn_addExclusionZone.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

params ["_area"];

GVAR(EXCLUSION_ZONES) pushBack _area;
GVAR(EXCLUSION_ZONES) pushBackUnique _area;

INFO_1("added exclusion zone %1", _area);
2 changes: 1 addition & 1 deletion functions/player/fn_setupZeusModules.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
private _minDistanceAndIndex = _distances call CBA_fnc_findMin;

if (isNil "_minValueAndIndex") exitWith {
[format["no area marker at position %1", _clickPos]] call grad_civs_fnc_showCivHint;
[format["no area marker at position %1", _clickPos]] call FUNC(showCivHint);
};
private _marker = _areaMarkersAtPos select (_minDistanceAndIndex#1);

Expand Down

0 comments on commit 4514ac7

Please sign in to comment.