Fix possible nullreference

This commit is contained in:
Dan Balasescu
2018-07-02 13:51:47 +09:00
committed by GitHub
parent b664d3ef81
commit 37495c34fa

View File

@ -23,6 +23,7 @@ namespace osu.Game.Beatmaps.ControlPoints
public bool Equals(ControlPoint other)
=> ChangeEquals(other)
&& !ReferenceEquals(null, other)
&& Time.Equals(other.Time);
}
}