1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 11:12:54 +08:00

Fix storyboard loops start time when none of their commands start at 0.

This commit is contained in:
Damnae 2017-09-16 13:15:16 +02:00
parent 5f6b300a3a
commit 2201fc745e

View File

@ -10,8 +10,8 @@ namespace osu.Game.Storyboards
public double LoopStartTime;
public int LoopCount;
public override double StartTime => LoopStartTime;
public override double EndTime => LoopStartTime + CommandsDuration * LoopCount;
public override double StartTime => LoopStartTime + CommandsStartTime;
public override double EndTime => StartTime + CommandsDuration * LoopCount;
public CommandLoop(double startTime, int loopCount)
{