From ca7137525908b8af7f908030f60a07d4b18c9f7e Mon Sep 17 00:00:00 2001 From: C0kkie <20169938+C0kkie@users.noreply.github.com> Date: Tue, 5 Mar 2019 16:40:10 +0100 Subject: [PATCH] Captives - Use the doApplyHandcuffs function for keybind (#6843) * Use the doApplyHandcuffs function that cabletie * Update XEH_postInit.sqf --- addons/captives/XEH_postInit.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/captives/XEH_postInit.sqf b/addons/captives/XEH_postInit.sqf index 70d708ced26..5e62bce35d5 100644 --- a/addons/captives/XEH_postInit.sqf +++ b/addons/captives/XEH_postInit.sqf @@ -44,7 +44,7 @@ if (!hasInterface) exitWith {}; if ((_target distance ACE_player) > getNumber (configFile >> "CfgVehicles" >> "CAManBase" >> "ACE_Actions" >> "ACE_ApplyHandcuffs" >> "distance")) exitWith {false}; if ([ACE_player, _target] call FUNC(canApplyHandcuffs)) exitWith { - [QGVAR(setHandcuffed), [_target, true], _target] call CBA_fnc_targetEvent; + [ACE_player, _target] call FUNC(doApplyHandcuffs); true }; false