Common - Block user input on headbug fix (#8398)

* Common - Block input on headbug fix

* keep return
This commit is contained in:
PabstMirror 2021-08-28 14:56:13 -05:00 committed by GitHub
parent 039af66a8f
commit 0c1d7177c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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