mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Common - Block user input on headbug fix (#8398)
* Common - Block input on headbug fix * keep return
This commit is contained in:
parent
039af66a8f
commit
0c1d7177c0
@ -25,6 +25,8 @@ private _anim = animationState _unit;
|
|||||||
|
|
||||||
if (_unit != vehicle _unit || {!([_unit, objNull, ["isNotSitting"]] call FUNC(canInteractWith))}) exitWith {false};
|
if (_unit != vehicle _unit || {!([_unit, objNull, ["isNotSitting"]] call FUNC(canInteractWith))}) exitWith {false};
|
||||||
|
|
||||||
|
["ace_headBugFix", true] call FUNC(setDisableUserInputStatus);
|
||||||
|
|
||||||
private _pos = getPosATL _unit;
|
private _pos = getPosATL _unit;
|
||||||
private _dir = getDir _unit;
|
private _dir = getDir _unit;
|
||||||
|
|
||||||
@ -47,4 +49,7 @@ deleteVehicle _dummy;
|
|||||||
|
|
||||||
[_unit, "headBugFix"] call FUNC(unhideUnit);
|
[_unit, "headBugFix"] call FUNC(unhideUnit);
|
||||||
titleCut ["", "PLAIN"];
|
titleCut ["", "PLAIN"];
|
||||||
|
|
||||||
|
["ace_headBugFix", false] call FUNC(setDisableUserInputStatus);
|
||||||
|
|
||||||
true
|
true
|
||||||
|
Loading…
Reference in New Issue
Block a user