mirror of
https://github.com/ppy/osu.git
synced 2025-03-05 20:32:56 +08:00
Fixed an error with looping
This commit is contained in:
parent
974e8d1f82
commit
6219b8e6dd
@ -71,7 +71,10 @@ namespace osu.Game.Screens.Select
|
|||||||
protected override void OnResuming(Screen last)
|
protected override void OnResuming(Screen last)
|
||||||
{
|
{
|
||||||
player = null;
|
player = null;
|
||||||
Beatmap.Track.Looping = false;
|
|
||||||
|
Beatmap.Track.Reset();
|
||||||
|
Beatmap.Track.Start();
|
||||||
|
Beatmap.Track.Looping = true;
|
||||||
|
|
||||||
base.OnResuming(last);
|
base.OnResuming(last);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user