1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +08:00

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}
}