mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix the thing
This commit is contained in:
parent
095ce88279
commit
92d01fde3f
@ -208,6 +208,7 @@ switch (_ctrlIDC) do {
|
||||
|
||||
if (_leftPanelState) then {
|
||||
{
|
||||
if (_x != _selectedItem && {!isNil {GVAR(virtualItemsFlatAll) get _x}}) then {continue}; // don't add unique attachments attached to weapons
|
||||
if (_x in ((GVAR(virtualItems) get IDX_VIRT_ATTACHMENTS) get _index)) then {
|
||||
["CfgWeapons", _x, _ctrlPanel] call FUNC(addListBoxItem);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user