Don't auto disable sound mute when exiting vehicle

Let the player choose when to disable so there aren't any unexpected
drastic volume changes.

Vanilla commit:

60f4968f23
This commit is contained in:
ebaydayz
2016-09-14 15:36:35 -04:00
parent ce6dffde3d
commit b349150548
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ _position = _this select 1;
_unit = _this select 2;
if (_unit == player) then {
if (dayz_soundMuted) then {call player_toggleSoundMute;}; // Automatically disable sound mute on vehicle exit
//if (dayz_soundMuted) then {call player_toggleSoundMute;}; // Auto disable mute on vehicle exit (not a good idea without a sleep since rotor can be very loud when spinning down)
_buildables = count ((getposATL _vehicle) nearObjects ["DZ_buildables", 3]);
if (_buildables > 0) then {