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

remove to list

This commit is contained in:
danielthirtle 2024-07-16 23:49:37 +12:00
parent 7b077255fe
commit 10d1b8f39a

View File

@ -46,7 +46,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
// Sections with 0 strain are excluded to avoid worst-case time complexity of the following sort (e.g. /b/2351871).
// These sections will not contribute to the difficulty.
var peaks = GetCurrentStrainPeaks().Where(p => p > 0).ToList();
var peaks = GetCurrentStrainPeaks().Where(p => p > 0);
List<double> strains = peaks.OrderDescending().ToList();