mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
reenable user input on featurecam (#8653)
This commit is contained in:
parent
6d223d9d96
commit
8372f69f4e
@ -89,13 +89,12 @@ GVAR(bloodTickCounter) = 0;
|
|||||||
if (_newCamera == "") then { // switched back to player view
|
if (_newCamera == "") then { // switched back to player view
|
||||||
private _status = IS_UNCONSCIOUS(_unit);
|
private _status = IS_UNCONSCIOUS(_unit);
|
||||||
[!_status, _unit] call EFUNC(common,setVolume);
|
[!_status, _unit] call EFUNC(common,setVolume);
|
||||||
|
|
||||||
[QUOTE(ADDON), _volume, _status] call EFUNC(common,setHearingCapability);
|
[QUOTE(ADDON), _volume, _status] call EFUNC(common,setHearingCapability);
|
||||||
|
|
||||||
["unconscious", _status] call EFUNC(common,setDisableUserInputStatus);
|
["unconscious", _status] call EFUNC(common,setDisableUserInputStatus);
|
||||||
} else { // camera view
|
} else { // camera view
|
||||||
[true, _unit] call EFUNC(common,setVolume);
|
[true, _unit] call EFUNC(common,setVolume);
|
||||||
[QUOTE(ADDON), 1, false] call EFUNC(common,setHearingCapability);
|
[QUOTE(ADDON), 1, false] call EFUNC(common,setHearingCapability);
|
||||||
|
["unconscious", false] call EFUNC(common,setDisableUserInputStatus);
|
||||||
};
|
};
|
||||||
}] call CBA_fnc_addPlayerEventHandler;
|
}] call CBA_fnc_addPlayerEventHandler;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user