mirror of
https://github.com/ppy/osu.git
synced 2024-09-21 17:27:24 +08:00
remove to list
This commit is contained in:
parent
7b077255fe
commit
10d1b8f39a
@ -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).
|
// 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.
|
// 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();
|
List<double> strains = peaks.OrderDescending().ToList();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user