Make muteWarningShownOnce static

... so it will actually get an instance per osu session.
This commit is contained in:
Craftplacer
2019-09-16 06:56:52 +02:00
parent cb033591c4
commit 220fdd0a04

View File

@ -65,7 +65,7 @@ namespace osu.Game.Screens.Play
[Resolved]
private VolumeOverlay volumeOverlay { get; set; }
private bool muteWarningShownOnce;
private static bool muteWarningShownOnce;
public PlayerLoader(Func<Player> createPlayer)
{