1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 14:03:01 +08:00

CI and comment fix

This commit is contained in:
MrTheMake 2017-08-15 12:27:51 +02:00
parent 21ced32297
commit 2c287e1348

View File

@ -23,7 +23,7 @@ namespace osu.Game.Rulesets
public IEnumerable<Mod> GetAllMods() => Enum.GetValues(typeof(ModType)).Cast<ModType>()
// Get all mod types as an IEnumerable<ModType>
.SelectMany(type => GetModsFor(type))
.SelectMany(GetModsFor)
// Confine all mods of each mod type into a single IEnumerable<Mod>
.Where(mod => mod != null)
// Filter out all null mods