Fix track looping state not being reset when entering editor from song select

Closes #8432.
This commit is contained in:
Dean Herbert 2020-03-25 15:45:33 +09:00
parent f414b7fbb6
commit b1d4261402
2 changed files with 3 additions and 2 deletions

View File

@ -85,8 +85,6 @@ protected override bool OnStart()
}
}
Beatmap.Value.Track.Looping = false;
SampleConfirm?.Play();
this.Push(player = new PlayerLoader(() => new Player()));

View File

@ -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);