1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:42:55 +08:00

Adjust comment again

This commit is contained in:
Salman Ahmed 2024-02-16 01:31:52 +03:00
parent 6751f95eb6
commit 7530b1f362

View File

@ -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.