mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Remove Redundancy in flashbangExplosionEh (#6749)
This commit is contained in:
parent
0fe6a92bf5
commit
4ba5a3954e
@ -93,7 +93,7 @@ if (hasInterface && {!isNull ACE_player} && {alive ACE_player}) then {
|
|||||||
|
|
||||||
// Add ace_hearing ear ringing sound effect
|
// Add ace_hearing ear ringing sound effect
|
||||||
if (isClass (configFile >> "CfgPatches" >> "ACE_Hearing") && {_strength > 0 && {EGVAR(hearing,damageCoefficent) > 0.25}}) then {
|
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);
|
[_earringingStrength] call EFUNC(hearing,earRinging);
|
||||||
TRACE_1("Earringing Strength",_earringingStrength);
|
TRACE_1("Earringing Strength",_earringingStrength);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user