Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
theace0296 committed Oct 30, 2021
1 parent b5bde89 commit 1b55405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RandFramework/Global/common/fn_showIntel.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ if (_FoundViaType isEqualTo "CommsTower") then {

if (_IntelToShow isEqualTo 0 || !_showIntel) exitWith { //Nothing found
[(localize "STR_TRGM2_showIntel_NoIntel")] call TRGM_GLOBAL_fnc_notify;
} else {
missionNamespace setVariable [format ["TRGM_VAR_IntelFound_%1", _iTaskIndex], _IntelFound + [_IntelToShow], true];
};

missionNamespace setVariable [format ["TRGM_VAR_IntelFound_%1", _iTaskIndex], _IntelFound + [_IntelToShow], true];

if (_IntelToShow isEqualTo 1) exitWith { //Mortor team location
private _IntelShowPos = nearestObjects [TRGM_VAR_ObjectivePositions select _iTaskIndex,(call sMortar) + (call sMortarMilitia),3000];
private _iCount = count _IntelShowPos;
Expand Down

0 comments on commit 1b55405

Please sign in to comment.