Fix control points with same timestamp potentially being parsed incorrectly

This commit is contained in:
Dean Herbert
2019-05-08 18:13:07 +09:00
parent 6559869880
commit 66ebdbbe4c
2 changed files with 16 additions and 3 deletions

View File

@ -12,6 +12,11 @@ namespace osu.Game.Beatmaps.ControlPoints
/// </summary>
public double Time;
/// <summary>
/// Whether this timing point was generated internally, as opposed to parsed from the underlying beatmap.
/// </summary>
internal bool AutoGenerated;
public int CompareTo(ControlPoint other) => Time.CompareTo(other.Time);
/// <summary>