mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
Add comment explaining why the branch is necessary
This commit is contained in:
parent
72306e8757
commit
7a45ea58b2
@ -49,6 +49,8 @@ namespace osu.Game.Beatmaps
|
||||
}
|
||||
else overridePoint = controlPoint;
|
||||
}
|
||||
// Some beatmaps have the first timingPoint (accidentally) start after the first HitObject(s).
|
||||
// This branch makes it so that the first ControlPoint that makes a timing change is used as the timingPoint for the HitObject(s).
|
||||
else if (timingPoint == null && controlPoint.TimingChange)
|
||||
{
|
||||
timingPoint = controlPoint;
|
||||
|
Loading…
Reference in New Issue
Block a user