Skip to content

Commit

Permalink
Arsenal - Fix mission and campaign insignia (#10143)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb432 committed Jul 24, 2024
1 parent 74de646 commit bfbaae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/arsenal/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ private _insigniaCondition = toString {

// Ref fnc_addListBoxItem, 0/nil = configFile, 1 = campaignConfigFile, 2 = missionConfigFile
{
GVAR(insigniaCache) set [_x, 1];
GVAR(insigniaCache) set [configName _x, 1];
} forEach (_insigniaCondition configClasses (campaignConfigFile >> "CfgUnitInsignia"));
{
GVAR(insigniaCache) set [_x, 2];
GVAR(insigniaCache) set [configName _x, 2];
} forEach (_insigniaCondition configClasses (missionConfigFile >> "CfgUnitInsignia"));

ADDON = true;

0 comments on commit bfbaae6

Please sign in to comment.