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)
|
foreach (var l in loops)
|
||||||
{
|
{
|
||||||
if (!(l.EarliestDisplayedTime is double lEarliest))
|
if (l.EarliestDisplayedTime != null)
|
||||||
continue;
|
earliestStartTime = Math.Min(earliestStartTime, l.StartTime);
|
||||||
|
|
||||||
earliestStartTime = Math.Min(earliestStartTime, lEarliest);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (earliestStartTime < double.MaxValue)
|
if (earliestStartTime < double.MaxValue)
|
||||||
|
|
Loading…
Reference in New Issue