mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Changed comments
This commit is contained in:
parent
d20a357c0e
commit
f5fbb7c8de
@ -205,7 +205,7 @@ namespace osu.Game.Screens.Select.Leaderboards
|
||||
else if (filterMods)
|
||||
{
|
||||
// otherwise find all the scores that have all of the currently selected mods (similar to how web applies mod filters)
|
||||
// we're creating and using a string list representation of selected mods so that it can be translated into the DB query itself
|
||||
// we're creating and using a string HashSet representation of selected mods so that it can be translated into the DB query itself
|
||||
var selectedMods = mods.Value.Select(m => m.Acronym).ToHashSet();
|
||||
|
||||
scores = scores.Where(s => selectedMods.SetEquals(s.Mods.Select(m => m.Acronym)));
|
||||
|
Loading…
Reference in New Issue
Block a user