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