mirror of
https://github.com/osukey/osukey.git
synced 2025-06-23 12:18:03 +09: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;
|
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.
|
// 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();
|
audioManager.Volume.SetDefault();
|
||||||
if (audioManager.VolumeTrack.Value < volume_requirement)
|
if (audioManager.VolumeTrack.Value <= volume_requirement)
|
||||||
audioManager.VolumeTrack.SetDefault();
|
audioManager.VolumeTrack.SetDefault();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user