mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Use ruleset criteria in parsing and filtering
This commit is contained in:
@ -73,6 +73,9 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
if (match)
|
||||
match &= criteria.Collection?.Beatmaps.Contains(Beatmap) ?? true;
|
||||
|
||||
if (match && criteria.RulesetCriteria != null)
|
||||
match &= criteria.RulesetCriteria.Matches(Beatmap);
|
||||
|
||||
Filtered.Value = !match;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user