1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 10:07:36 +08:00

Fix track tempo could be less than 1 on exiting the editor

This commit is contained in:
EVAST9919 2017-11-17 14:02:07 +03:00
parent cc04d5bc61
commit 1680c0905f

View File

@ -166,6 +166,7 @@ namespace osu.Game.Screens.Edit
protected override bool OnExiting(Screen next)
{
Background.FadeColour(Color4.White, 500);
Beatmap.Value.Track.Tempo.Value = 1;
Beatmap.Value.Track?.Start();
return base.OnExiting(next);
}