mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 23:43:03 +08:00
Remove the null check because bindable should always have the value.
This commit is contained in:
parent
ce1bb206c8
commit
3af093cb27
@ -214,8 +214,8 @@ namespace osu.Game.Rulesets.Mods
|
||||
|
||||
public bool Equals(IBindable x, IBindable y)
|
||||
{
|
||||
object xValue = x?.GetUnderlyingSettingValue();
|
||||
object yValue = y?.GetUnderlyingSettingValue();
|
||||
object xValue = x.GetUnderlyingSettingValue();
|
||||
object yValue = y.GetUnderlyingSettingValue();
|
||||
|
||||
return EqualityComparer<object>.Default.Equals(xValue, yValue);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user