Skip to content

Commit c88caad

Browse files
authored
ACE Interact - Fix assigned PTT keybinding regression (#1422)
1 parent 39576b1 commit c88caad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/ace_interact/fnc_radioPTTChildrenActions.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ for "_i" from 1 to 3 do {
3030
if (count _pttAssign > (_i - 1) && _idx isNotEqualTo (_i - 1)) then {
3131
private _text = format [LLSTRING(setAsMultiPTT), _i];
3232
private _icon = format [QPATHTOF(data\icons\ptt_%1.paa), _i];
33-
private _action = [format [QGVAR(mpttAssign%1), _i], _text, _icon, LINKFUNC(actionSetMTT), {true}, {}, [_radio, _pttAssign, _i]] call ace_interact_menu_fnc_createAction;
33+
private _action = [format [QGVAR(mpttAssign%1), _i], _text, _icon, LINKFUNC(actionSetMTT), {true}, {}, [_radio, _pttAssign, _i - 1]] call ace_interact_menu_fnc_createAction;
3434
_actions pushBack [_action, [], _target];
3535
};
3636
};

0 commit comments

Comments
 (0)