mirror of https://github.com/ppy/osu
Fix track looping state not being reset when entering editor from song select
Closes #8432.
This commit is contained in:
parent
f414b7fbb6
commit
b1d4261402
|
@ -85,8 +85,6 @@ protected override bool OnStart()
|
|||
}
|
||||
}
|
||||
|
||||
Beatmap.Value.Track.Looping = false;
|
||||
|
||||
SampleConfirm?.Play();
|
||||
|
||||
this.Push(player = new PlayerLoader(() => new Player()));
|
||||
|
|
|
@ -572,6 +572,9 @@ public override void OnSuspending(IScreen next)
|
|||
|
||||
BeatmapOptions.Hide();
|
||||
|
||||
if (Beatmap.Value.Track != null)
|
||||
Beatmap.Value.Track.Looping = false;
|
||||
|
||||
this.ScaleTo(1.1f, 250, Easing.InSine);
|
||||
|
||||
this.FadeOut(250);
|
||||
|
|
Loading…
Reference in New Issue