Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb432 committed Aug 4, 2024
1 parent f14eb0d commit ac0e0c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions addons/medical_ai/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
}] call CBA_fnc_addClassEventHandler;

// Add command actions to command AI medics to treat other units
if (hasInterface) then {
call FUNC(addHealingCommandActions);
};
call FUNC(addHealingCommandActions);

if (GVAR(requireItems) == 2) then {
["CAManBase", "InitPost", {
Expand Down
4 changes: 3 additions & 1 deletion addons/medical_ai/functions/fnc_addHealingCommandActions.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
* None
*
* Example:
* player call ace_medical_ai_fnc_addHealingCommandActions
* call ace_medical_ai_fnc_addHealingCommandActions
*
* Public: No
*/

if (!hasInterface) exitWith {};

private _action = [
QGVAR(heal),
localize "STR_A3_Task180_name",
Expand Down

0 comments on commit ac0e0c5

Please sign in to comment.