mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #1851 from SzwedzikPL/hearing_in_zeus
Disable hearing in zeus camera
This commit is contained in:
commit
38bd2896ab
@ -20,6 +20,7 @@ PARAMS_2(_unit,_strength);
|
|||||||
|
|
||||||
if (_unit != ACE_player) exitWith {};
|
if (_unit != ACE_player) exitWith {};
|
||||||
if (_strength < 0.05) exitWith {};
|
if (_strength < 0.05) exitWith {};
|
||||||
|
if (!isNull curatorCamera) exitWith {};
|
||||||
|
|
||||||
if (_unit getVariable ["ACE_hasEarPlugsin", false]) then {
|
if (_unit getVariable ["ACE_hasEarPlugsin", false]) then {
|
||||||
_strength = _strength / 4;
|
_strength = _strength / 4;
|
||||||
|
Loading…
Reference in New Issue
Block a user