Change inspection and add redundant parenthesis to appease codefactor

This commit is contained in:
Dean Herbert
2018-12-15 16:37:37 +09:00
parent 3892454ecc
commit eec5afa382
2 changed files with 3 additions and 2 deletions

View File

@ -24,7 +24,7 @@ namespace osu.Game.Screens.Select.Carousel
{
base.Filter(criteria);
bool match = criteria.Ruleset == null || Beatmap.RulesetID == criteria.Ruleset.ID || Beatmap.RulesetID == 0 && criteria.Ruleset.ID > 0 && criteria.AllowConvertedBeatmaps;
bool match = criteria.Ruleset == null || Beatmap.RulesetID == criteria.Ruleset.ID || (Beatmap.RulesetID == 0 && criteria.Ruleset.ID > 0 && criteria.AllowConvertedBeatmaps);
foreach (var criteriaTerm in criteria.SearchTerms)
match &=