mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Arsenal - Fix script error for weapons with 3+ muzzles (#7256)
This commit is contained in:
parent
691e8d24c6
commit
0e485ce5fc
@ -78,7 +78,7 @@ private _compatibleMagazines = [[[], []], [[], []], [[], []]];
|
||||
private _index = _forEachIndex;
|
||||
|
||||
{
|
||||
private _subIndex = _forEachIndex;
|
||||
private _subIndex = _forEachIndex min 1;
|
||||
{
|
||||
((_compatibleMagazines select _index) select _subIndex) pushBackUnique (configName (configFile >> "CfgMagazines" >> _x))
|
||||
} foreach ([getArray (_weaponConfig >> _x >> "magazines"), getArray (_weaponConfig >> "magazines")] select (_x == "this"));
|
||||
|
Loading…
Reference in New Issue
Block a user