mirror of
https://github.com/osukey/osukey.git
synced 2025-05-26 07:57:32 +09: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 =
|
bool match =
|
||||||
criteria.Ruleset == null ||
|
criteria.Ruleset == null ||
|
||||||
BeatmapInfo.RulesetID == criteria.Ruleset.OnlineID ||
|
BeatmapInfo.Ruleset.ShortName == criteria.Ruleset.ShortName ||
|
||||||
(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)
|
if (BeatmapInfo.BeatmapSet?.Equals(criteria.SelectedBeatmapSet) == true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user