Change comparison to match in all locations

This commit is contained in:
Dean Herbert 2021-12-09 18:58:47 +09:00
parent 0775053a18
commit a3b53ac2f6

View File

@ -505,9 +505,9 @@ namespace osu.Game.Screens.Play
volumeOverlay.IsMuted.Value = false;
// Check values before resetting, as the user may have only had mute enabled, in which case we might not need to adjust volumes.
if (audioManager.Volume.Value < volume_requirement)
if (audioManager.Volume.Value <= volume_requirement)
audioManager.Volume.SetDefault();
if (audioManager.VolumeTrack.Value < volume_requirement)
if (audioManager.VolumeTrack.Value <= volume_requirement)
audioManager.VolumeTrack.SetDefault();
return true;