From 7a45ea58b2fbe5177c90966d58e8e89abdb5367a Mon Sep 17 00:00:00 2001 From: Shadoxfix Date: Fri, 17 Feb 2017 18:17:18 +0100 Subject: [PATCH] Add comment explaining why the branch is necessary --- osu.Game/Beatmaps/Beatmap.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osu.Game/Beatmaps/Beatmap.cs b/osu.Game/Beatmaps/Beatmap.cs index cd99710db2..af55caf3b7 100644 --- a/osu.Game/Beatmaps/Beatmap.cs +++ b/osu.Game/Beatmaps/Beatmap.cs @@ -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;