mirror of
https://github.com/ppy/osu
synced 2025-02-09 14:47:33 +00:00
Change comparison to match in all locations
This commit is contained in:
parent
0775053a18
commit
a3b53ac2f6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user