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

Remove redundant guard

`Bindable` has one of those already.
This commit is contained in:
Bartłomiej Dach 2023-06-18 13:51:13 +02:00
parent c7e8990576
commit 1b4d7db1e6
No known key found for this signature in database

View File

@ -89,13 +89,7 @@ namespace osu.Game.Overlays.Mods
public override bool MatchingFilter
{
get => modState.MatchingTextFilter.Value;
set
{
if (modState.MatchingTextFilter.Value == value)
return;
modState.MatchingTextFilter.Value = value;
}
set => modState.MatchingTextFilter.Value = value;
}
private void updateFilterState()