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:
parent
a076eda834
commit
357a661379
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user