Merge pull request #1851 from SzwedzikPL/hearing_in_zeus

Disable hearing in zeus camera
This commit is contained in:
ViperMaul 2015-07-25 10:44:34 -07:00
commit 38bd2896ab

View File

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