mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
arsenal - fix hash getvar default type (#8892)
This commit is contained in:
parent
8192108e19
commit
ad5c275532
@ -89,7 +89,7 @@ private _compatibleMagazines = [[[], []], [[], []], [[], []]];
|
||||
|
||||
// Magazine groups
|
||||
{
|
||||
private _magazineGroups = uiNamespace getVariable [QGVAR(magazineGroups),["#CBA_HASH#",[],[],[]]];
|
||||
private _magazineGroups = uiNamespace getVariable [QGVAR(magazineGroups), createHashMap];
|
||||
private _magArray = _magazineGroups get (toLower _x);
|
||||
{((_compatibleMagazines select _index) select _subIndex) pushBackUnique _x} forEach _magArray;
|
||||
} foreach ([getArray (_weaponConfig >> _x >> "magazineWell"), getArray (_weaponConfig >> "magazineWell")] select (_x == "this"));
|
||||
|
Loading…
Reference in New Issue
Block a user