1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 18:42:56 +08:00

Fix DefaultSongProgress graph not resetting if time is in intro

This commit is contained in:
Dean Herbert 2022-07-28 18:25:24 +09:00
parent 7108553883
commit d5e5761892

View File

@ -185,7 +185,9 @@ namespace osu.Game.Screens.Play.HUD
{
bar.CurrentTime = gameplayClock?.CurrentTime ?? Time.Current;
if (!isIntro)
if (isIntro)
graph.Progress = 0;
else
graph.Progress = (int)(graph.ColumnCount * progress);
}