mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 05:22:54 +08:00
Fix ruleset filter matching using OnlineID
instead of ShortName
This commit is contained in:
parent
0c2ed2f9a7
commit
f70e10e8a4
@ -28,7 +28,7 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
|
||||
bool match =
|
||||
criteria.Ruleset == null ||
|
||||
BeatmapInfo.RulesetID == criteria.Ruleset.OnlineID ||
|
||||
BeatmapInfo.Ruleset.ShortName == criteria.Ruleset.ShortName ||
|
||||
(BeatmapInfo.RulesetID == 0 && criteria.Ruleset.OnlineID != 0 && criteria.AllowConvertedBeatmaps);
|
||||
|
||||
if (BeatmapInfo.BeatmapSet?.Equals(criteria.SelectedBeatmapSet) == true)
|
||||
|
Loading…
Reference in New Issue
Block a user