mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 23:12:56 +08:00
Adjust comment again
This commit is contained in:
parent
6751f95eb6
commit
7530b1f362
@ -585,7 +585,7 @@ namespace osu.Game.Screens.Play
|
|||||||
double aggregateVolumeTrack = audioManager.Volume.Value * audioManager.VolumeTrack.Value;
|
double aggregateVolumeTrack = audioManager.Volume.Value * audioManager.VolumeTrack.Value;
|
||||||
|
|
||||||
// Check values before resetting, as the user may have only had mute enabled, in which case we might not need to adjust volumes.
|
// Check values before resetting, as the user may have only had mute enabled, in which case we might not need to adjust volumes.
|
||||||
// Note that we only restore to 10% to ensure the user isn't suddenly overloaded by unexpectedly high volume.
|
// Note that we only restore halfway to ensure the user isn't suddenly overloaded by unexpectedly high volume.
|
||||||
if (aggregateVolumeTrack <= volume_requirement)
|
if (aggregateVolumeTrack <= volume_requirement)
|
||||||
{
|
{
|
||||||
// Prioritize increasing music over master volume as to avoid also increasing effects volume.
|
// Prioritize increasing music over master volume as to avoid also increasing effects volume.
|
||||||
|
Loading…
Reference in New Issue
Block a user