mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:22:55 +08:00
Use RestartPoint
This commit is contained in:
parent
bc35a30a25
commit
c1d2fff651
@ -251,13 +251,11 @@ namespace osu.Game.Screens.Multi
|
||||
|
||||
if (track != null)
|
||||
{
|
||||
track.RestartPoint = Beatmap.Value.Metadata.PreviewTime;
|
||||
track.Looping = true;
|
||||
|
||||
if (!track.IsRunning)
|
||||
{
|
||||
track.Seek(Beatmap.Value.Metadata.PreviewTime);
|
||||
track.Start();
|
||||
}
|
||||
track.Restart();
|
||||
}
|
||||
|
||||
createButton.Hide();
|
||||
|
Loading…
Reference in New Issue
Block a user