1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:22:55 +08:00

Use RestartPoint

This commit is contained in:
smoogipoo 2019-06-17 12:44:19 +09:00
parent bc35a30a25
commit c1d2fff651

View File

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