mirror of https://github.com/ppy/osu
Fix custom rulesets not being able to convert maps
This commit is contained in:
parent
bab337591f
commit
873d367615
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue