mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Arsenal - Fix custom categories not working for some Misc item types (#8088)
This commit is contained in:
parent
b50a49c287
commit
b8820eb3da
@ -289,13 +289,13 @@ switch (_ctrlIDC) do {
|
||||
|
||||
{
|
||||
["CfgWeapons", _x, false, true] call _fnc_fill_right_Container;
|
||||
} foreach (GVAR(virtualItems) select 18);
|
||||
} foreach ((GVAR(virtualItems) select 18) select {!((toLower _x) in _blockItems)});
|
||||
{
|
||||
["CfgVehicles", _x, false, true] call _fnc_fill_right_Container;
|
||||
} foreach (GVAR(virtualItems) select 23);
|
||||
} foreach ((GVAR(virtualItems) select 23) select {!((toLower _x) in _blockItems)});
|
||||
{
|
||||
["CfgGlasses", _x, false, true] call _fnc_fill_right_Container;
|
||||
} foreach (GVAR(virtualItems) select 24);
|
||||
} foreach ((GVAR(virtualItems) select 24) select {!((toLower _x) in _blockItems)});
|
||||
};
|
||||
|
||||
default {
|
||||
@ -308,6 +308,16 @@ switch (_ctrlIDC) do {
|
||||
{
|
||||
["CfgWeapons", _x, true] call _fnc_fill_right_Container;
|
||||
} foreach ((GVAR(virtualItems) select 17) select {(toLower _x) in _items});
|
||||
|
||||
{
|
||||
["CfgWeapons", _x, false, true] call _fnc_fill_right_Container;
|
||||
} foreach ((GVAR(virtualItems) select 18) select {(toLower _x) in _items});
|
||||
{
|
||||
["CfgVehicles", _x, false, true] call _fnc_fill_right_Container;
|
||||
} foreach ((GVAR(virtualItems) select 23) select {(toLower _x) in _items});
|
||||
{
|
||||
["CfgGlasses", _x, false, true] call _fnc_fill_right_Container;
|
||||
} foreach ((GVAR(virtualItems) select 24) select {(toLower _x) in _items});
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user