Arsenal - Fix mission and campaign insignia (#10143)

This commit is contained in:
johnb432 2024-07-25 01:17:22 +02:00 committed by GitHub
parent 74de646a02
commit bfbaae65e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;