mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
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:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user