Remove Redundancy in flashbangExplosionEh (#6749)

This commit is contained in:
Jo David 2018-12-29 18:29:29 +01:00 committed by PabstMirror
parent 0fe6a92bf5
commit 4ba5a3954e

View File

@ -93,7 +93,7 @@ if (hasInterface && {!isNull ACE_player} && {alive ACE_player}) then {
// Add ace_hearing ear ringing sound effect
if (isClass (configFile >> "CfgPatches" >> "ACE_Hearing") && {_strength > 0 && {EGVAR(hearing,damageCoefficent) > 0.25}}) then {
private _earringingStrength = 40 * _strength * EGVAR(hearing,damageCoefficent);
private _earringingStrength = 40 * _strength;
[_earringingStrength] call EFUNC(hearing,earRinging);
TRACE_1("Earringing Strength",_earringingStrength);
};