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:
parent
7108553883
commit
d5e5761892
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user