From 0c1d7177c0c847ceeeb6e4a6cb8c409b911d6c37 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Sat, 28 Aug 2021 14:56:13 -0500 Subject: [PATCH] Common - Block user input on headbug fix (#8398) * Common - Block input on headbug fix * keep return --- addons/common/functions/fnc_headBugFix.sqf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/common/functions/fnc_headBugFix.sqf b/addons/common/functions/fnc_headBugFix.sqf index edea791f24..2c6c072c34 100644 --- a/addons/common/functions/fnc_headBugFix.sqf +++ b/addons/common/functions/fnc_headBugFix.sqf @@ -25,6 +25,8 @@ private _anim = animationState _unit; if (_unit != vehicle _unit || {!([_unit, objNull, ["isNotSitting"]] call FUNC(canInteractWith))}) exitWith {false}; +["ace_headBugFix", true] call FUNC(setDisableUserInputStatus); + private _pos = getPosATL _unit; private _dir = getDir _unit; @@ -47,4 +49,7 @@ deleteVehicle _dummy; [_unit, "headBugFix"] call FUNC(unhideUnit); titleCut ["", "PLAIN"]; + +["ace_headBugFix", false] call FUNC(setDisableUserInputStatus); + true