mirror of https://github.com/ppy/osu
Fix storyboard sprites sometimes starting too early
This commit is contained in:
parent
a076eda834
commit
357a661379
|
@ -33,10 +33,8 @@ public double StartTime
|
|||
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue