Skip to content

Commit

Permalink
doFlare -> doUGL
Browse files Browse the repository at this point in the history
  • Loading branch information
jokoho48 committed Apr 30, 2020
1 parent f814f4d commit 37b3281
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addons/danger/XEH_PREP.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PREP(assaultSpeed);
PREP(checkBody);
PREP(coward);
PREP(doCallout);
PREP(doFlare);
PREP(doUGL);
PREP(doSmoke);
PREP(findBuildings);
PREP(findCover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* available units
*
* Example:
* [units bob] call lambs_danger_fnc_doFlare;
* [units bob] call lambs_danger_fnc_doUGL;
*
* Public: No
*/
Expand Down
2 changes: 1 addition & 1 deletion addons/danger/functions/fnc_leaderAssault.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ _unit setVariable [QGVAR(currentTask), "Leader Assault", GVAR(debug_functions)];
[_unit, _target] call FUNC(doSmoke);

// grenadier smoke
[{_this call FUNC(doFlare)}, [_units, _target, "shotSmokeX"], 6] call CBA_fnc_waitAndExecute;
[{_this call FUNC(doUGL)}, [_units, _target, "shotSmokeX"], 6] call CBA_fnc_waitAndExecute;

// ready group
(group _unit) setFormDir (_unit getDir _target);
Expand Down
2 changes: 1 addition & 1 deletion addons/danger/functions/fnc_leaderAssess.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private _units = [_unit] call FUNC(findReadyUnits);

// deploy flares
if (!(GVAR(disableAutonomousFlares)) && {_unit call FUNC(isNight)}) then {
_units = [_units] call FUNC(doFlare);
_units = [_units] call FUNC(doUGL);
};

// deploy static weapons ~ also returns available units
Expand Down

0 comments on commit 37b3281

Please sign in to comment.