mirror of
https://github.com/ppy/osu.git
synced 2025-02-06 04:53:06 +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)
|
public bool Equals(ControlPoint other)
|
||||||
=> ChangeEquals(other)
|
=> ChangeEquals(other)
|
||||||
|
&& !ReferenceEquals(null, other)
|
||||||
&& Time.Equals(other.Time);
|
&& Time.Equals(other.Time);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user