Add handling of other fadeSound events in player_toggleMuteSound

Fixes icon staying up after fadeSound to 1 by unconscious and low blood
events.
This commit is contained in:
ebaydayz
2016-07-20 17:36:40 -04:00
parent f314a39e43
commit 2f844060ec
6 changed files with 14 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ if (!isNil "_display") then {
if (dayz_soundMuted) then {
dayz_soundMuted = false;
1 fadeSound 1;
if (!r_player_unconscious && !deathHandled && !r_pitchWhine) then {1 fadeSound 1;};
_background ctrlShow false;
_icon ctrlShow false;
} else {