1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 09:07:25 +08:00

Fix filtering by ruleset.

This commit is contained in:
Dean Herbert 2017-04-18 10:04:41 +09:00
parent f2174054ea
commit 6b6690caf7
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

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;