mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Skip gear sound in player_forceSave
Don't play sound when gear flashes open momentarily for force save and
backpack mag ammo count.
Vanilla commit:
98784aae79
This commit is contained in:
@@ -358,6 +358,7 @@ if (!isDedicated) then {
|
||||
closeDialog 0;
|
||||
if (gear_done) then {sleep 0.001;};
|
||||
DZE_GearCheckBypass = true; //Bypass gear menu checks since dialog will always open on player's gear
|
||||
skipGearSound = true; //Don't play sound when checking backpack mags ammo count
|
||||
player action ["Gear", player];
|
||||
if (gear_done) then {sleep 0.001;};
|
||||
_dialog = findDisplay 106;
|
||||
@@ -369,6 +370,7 @@ if (!isDedicated) then {
|
||||
if (_i in [100,200,299]) then {
|
||||
closeDialog 0;
|
||||
DZE_GearCheckBypass = true; //Bypass gear menu checks since dialog will always open on player's gear
|
||||
skipGearSound = true; //Don't play sound when checking backpack mags ammo count
|
||||
player action ["Gear", player];
|
||||
};
|
||||
if (_i > 300) exitWith {};
|
||||
@@ -382,6 +384,7 @@ if (!isDedicated) then {
|
||||
sleep 0.001;
|
||||
};
|
||||
};
|
||||
skipGearSound = false;
|
||||
_dialog
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user