mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Hearing - prevent audio from stacking when tabbed out (#10048)
This commit is contained in:
parent
98f4b51c52
commit
d30c01aee9
@ -38,6 +38,7 @@ if (!_updateVolumeOnly) then {
|
|||||||
GVAR(deafnessDV) > 10) then {
|
GVAR(deafnessDV) > 10) then {
|
||||||
|
|
||||||
if (CBA_missionTime - GVAR(time3) < 3) exitWith {};
|
if (CBA_missionTime - GVAR(time3) < 3) exitWith {};
|
||||||
|
if (!isGameFocused) exitWith {}; // prevent audio from stacking when tabbed out
|
||||||
|
|
||||||
GVAR(time3) = CBA_missionTime;
|
GVAR(time3) = CBA_missionTime;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user