1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 17:02:57 +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

@ -22,8 +22,8 @@ namespace osu.Game.Rulesets
public virtual IEnumerable<BeatmapStatistic> GetBeatmapStatistics(WorkingBeatmap beatmap) => new BeatmapStatistic[] { };
public IEnumerable<Mod> GetAllMods() => Enum.GetValues(typeof(ModType)).Cast<ModType>()
//Get all mod types as an IEnumerable<ModType>
.SelectMany(type => GetModsFor(type))
// Get all mod types as an IEnumerable<ModType>
.SelectMany(GetModsFor)
// Confine all mods of each mod type into a single IEnumerable<Mod>
.Where(mod => mod != null)
// Filter out all null mods