1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 02:22:59 +08:00

Fix merge conflicts

This commit is contained in:
Salman Ahmed 2024-03-08 20:22:26 +03:00
parent 8d3e502262
commit a85be2a46d

View File

@ -97,10 +97,10 @@ namespace osu.Game.Storyboards
// If the logic above fails to find anything or discarded by the fact that there are loops present, latestEndTime will be double.MaxValue // If the logic above fails to find anything or discarded by the fact that there are loops present, latestEndTime will be double.MaxValue
// and thus conservativeEndTime will be used. // and thus conservativeEndTime will be used.
double conservativeEndTime = TimelineGroup.EndTime; double conservativeEndTime = Commands.EndTime;
foreach (var l in loops) foreach (var l in loopingGroups)
conservativeEndTime = Math.Max(conservativeEndTime, l.StartTime + l.CommandsDuration * l.TotalIterations); conservativeEndTime = Math.Max(conservativeEndTime, l.StartTime + l.Duration * l.TotalIterations);
return Math.Min(latestEndTime, conservativeEndTime); return Math.Min(latestEndTime, conservativeEndTime);
} }