mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-21 23:50:48 +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:
@@ -56,6 +56,7 @@ publicVariableServer "PVDZ_plr_Death";
|
||||
_id = [player,20,true,getPosATL player] call player_alertZombies;
|
||||
uiSleep 0.5;
|
||||
player setDamage 1;
|
||||
if (dayz_soundMuted) then {call player_toggleSoundMute;}; // hide icon before fadeSound
|
||||
0.1 fadeSound 0;
|
||||
|
||||
player setVariable ["NORRN_unconscious", false, true];
|
||||
|
||||
Reference in New Issue
Block a user