mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +03:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user