mirror of
https://github.com/ppy/osu.git
synced 2025-01-22 08:32:54 +08:00
Fix potential frame misordering in generator
This commit is contained in:
parent
0bb95cfa88
commit
3065c9f23d
@ -88,7 +88,7 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
frames.Add(new OsuReplayFrame(lastTime, calcOffsetAt((lastTime - seqStartTime) / (seqEndTime - seqStartTime), seqStartAngle, seqEndAngle), OsuAction.LeftButton));
|
frames.Add(new OsuReplayFrame(lastTime, calcOffsetAt((lastTime - seqStartTime) / (seqEndTime - seqStartTime), seqStartAngle, seqEndAngle), OsuAction.LeftButton));
|
||||||
|
|
||||||
// Final frame at the end of the current spin.
|
// Final frame at the end of the current spin.
|
||||||
frames.Add(new OsuReplayFrame(lastTime, calcOffsetAt(1, seqStartAngle, seqEndAngle), OsuAction.LeftButton));
|
frames.Add(new OsuReplayFrame(seqEndTime, calcOffsetAt(1, seqStartAngle, seqEndAngle), OsuAction.LeftButton));
|
||||||
|
|
||||||
lastTime = seqEndTime;
|
lastTime = seqEndTime;
|
||||||
lastAngle = seqEndAngle;
|
lastAngle = seqEndAngle;
|
||||||
|
Loading…
Reference in New Issue
Block a user