mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08: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