From 4ba5a3954e8f6517a8f0d7447aa4159bbb165b86 Mon Sep 17 00:00:00 2001 From: Jo David Date: Sat, 29 Dec 2018 18:29:29 +0100 Subject: [PATCH] Remove Redundancy in flashbangExplosionEh (#6749) --- addons/grenades/functions/fnc_flashbangExplosionEH.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/grenades/functions/fnc_flashbangExplosionEH.sqf b/addons/grenades/functions/fnc_flashbangExplosionEH.sqf index 86312651eb..b70314d2d0 100644 --- a/addons/grenades/functions/fnc_flashbangExplosionEH.sqf +++ b/addons/grenades/functions/fnc_flashbangExplosionEH.sqf @@ -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); };