1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Fix storyboard sprites sometimes starting too early

This commit is contained in:
Dan Balasescu 2021-12-14 13:13:12 +09:00
parent a076eda834
commit 357a661379

View File

@ -33,10 +33,8 @@ namespace osu.Game.Storyboards
foreach (var l in loops)
{
if (!(l.EarliestDisplayedTime is double lEarliest))
continue;
earliestStartTime = Math.Min(earliestStartTime, lEarliest);
if (l.EarliestDisplayedTime != null)
earliestStartTime = Math.Min(earliestStartTime, l.StartTime);
}
if (earliestStartTime < double.MaxValue)