mirror of
https://github.com/ppy/osu
synced 2024-12-18 04:46:09 +00:00
Fix filtering by ruleset.
This commit is contained in:
parent
f2174054ea
commit
6b6690caf7
@ -23,7 +23,7 @@ namespace osu.Game.Screens.Select
|
||||
{
|
||||
var set = g.BeatmapSet;
|
||||
|
||||
bool hasCurrentMode = set.Beatmaps.Any(bm => bm.Ruleset == Ruleset);
|
||||
bool hasCurrentMode = set.Beatmaps.Any(bm => bm.RulesetID == Ruleset.ID);
|
||||
|
||||
bool match = hasCurrentMode;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user