Fix custom rulesets not being able to convert maps

This commit is contained in:
Derrick Timmermans 2022-01-26 15:51:39 +01:00
parent bab337591f
commit 873d367615
No known key found for this signature in database
GPG Key ID: 8681B60806EF4A17
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ public override void Filter(FilterCriteria criteria)
bool match =
criteria.Ruleset == null ||
BeatmapInfo.RulesetID == criteria.Ruleset.OnlineID ||
(BeatmapInfo.RulesetID == 0 && criteria.Ruleset.OnlineID > 0 && criteria.AllowConvertedBeatmaps);
(BeatmapInfo.RulesetID == 0 && criteria.Ruleset.OnlineID != 0 && criteria.AllowConvertedBeatmaps);
if (BeatmapInfo.BeatmapSet?.Equals(criteria.SelectedBeatmapSet) == true)
{