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:
parent
b664d3ef81
commit
37495c34fa
@ -23,6 +23,7 @@ namespace osu.Game.Beatmaps.ControlPoints
|
||||
|
||||
public bool Equals(ControlPoint other)
|
||||
=> ChangeEquals(other)
|
||||
&& !ReferenceEquals(null, other)
|
||||
&& Time.Equals(other.Time);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user