mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 09:03:50 +09:00
Fix track tempo could be less than 1 on exiting the editor
This commit is contained in:
@ -166,6 +166,7 @@ namespace osu.Game.Screens.Edit
|
|||||||
protected override bool OnExiting(Screen next)
|
protected override bool OnExiting(Screen next)
|
||||||
{
|
{
|
||||||
Background.FadeColour(Color4.White, 500);
|
Background.FadeColour(Color4.White, 500);
|
||||||
|
Beatmap.Value.Track.Tempo.Value = 1;
|
||||||
Beatmap.Value.Track?.Start();
|
Beatmap.Value.Track?.Start();
|
||||||
return base.OnExiting(next);
|
return base.OnExiting(next);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user