Skip to content

Commit

Permalink
Fixes wrong slot for optics attachements
Browse files Browse the repository at this point in the history
  • Loading branch information
10Dozen committed Aug 3, 2021
1 parent 655dc27 commit fc6dff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/accessory/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if (!hasInterface) exitWith {};
] call CBA_fnc_addItemContextMenuOption;

[
"##AccessorySights", "POINTER", [LSTRING(opticNext), LSTRING(opticNext_tooltip)], nil, nil, {
"##AccessorySights", "OPTIC", [LSTRING(opticNext), LSTRING(opticNext_tooltip)], nil, nil, {
params ["", "", "_item"];
count (_item call CBA_fnc_switchableAttachments) > 1 // return
}, {
Expand Down

0 comments on commit fc6dff4

Please sign in to comment.