Skip to content

Commit

Permalink
Core - Filter radios for CBA Extended Loadouts (#1205)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Apr 13, 2023
1 parent e119b15 commit eed3692
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions addons/sys_core/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

[QGVAR(onRevealUnit), { _this call FUNC(onRevealUnit) }] call CALLSTACK(CBA_fnc_addEventHandler);

["CBA_loadoutGet", {
params ["", "_loadout", ""];
[_loadout] call EFUNC(api,filterUnitLoadout);
}] call CBA_fnc_addEventHandler;

if (!hasInterface) exitWith {};

// Ensure the TeamSpeak plugin handler code is initialized first
Expand Down

0 comments on commit eed3692

Please sign in to comment.