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

@@ -13,7 +13,7 @@
[NEW] Added "RedRyder" and "350Rnd_BB_Magazine" to loot pile. #1456 #1457 @Namindu
[NEW] Added action to lock and unlock vehicles from inside #1103 @pj999 @ebaydayz
[NEW] Autorun hotkey (0 = Toggle auto run) @ebaydayz
[NEW] Earplugs/Lower sound effects volume hotkey (F1) and status UI icon. Automatically disabled when exiting a vehicle.
[NEW] Earplugs/Lower sound effects volume hotkey (F1) and status UI icon.
[NEW] Snap building, use DZE_modularBuild = true; in init.sqf to enable. @raymix
[NEW] Auto login when a player joins the server, default 10 seconds, requires description.ext update in the mission (disable in description.ext by setting defValueParam1 = 31;) @icomrade
[NEW] Many new configuration options are available for admins. See dayz_code\configVariables.sqf and mission\init.sqf for descriptions. @ebaydayz

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 {