mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Match case for magazines in fillRightPanel (ACE Arsenal) (#6044)
* Match case for magazines in fillRightPanel Apparently you can have different case between the entry in the weapon magazines array and its actual configname... * Add possible fix for the mission end bug * Add ded's proposed fix, remove closeOnMissionEnd CloseOnMissionEnd is bugged in 3DEN and force close the display after it's opened
This commit is contained in:
parent
fc037d1bc3
commit
b7606800a1
@ -86,7 +86,7 @@ private _compatibleMagazines = [[[], []], [[], []], [[], []]];
|
||||
private _magArray = [_magazineGroups, _x] call CBA_fnc_hashGet;
|
||||
{((_compatibleMagazines select _index) select _subIndex) pushBackUnique _x} forEach _magArray;
|
||||
} else {
|
||||
((_compatibleMagazines select _index) select _subIndex) pushBackUnique _x
|
||||
((_compatibleMagazines select _index) select _subIndex) pushBackUnique (configName (configFile >> "CfgMagazines" >> _x))
|
||||
}
|
||||
} foreach ([getArray (_weaponConfig >> _x >> "magazines"), getArray (_weaponConfig >> "magazines")] select (_x == "this"));
|
||||
} foreach getArray (_weaponConfig >> "muzzles");
|
||||
|
Loading…
Reference in New Issue
Block a user