Fix filtering by ruleset.

This commit is contained in:
Dean Herbert
2017-04-18 10:04:41 +09:00
parent f2174054ea
commit 6b6690caf7

View File

@ -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;