1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:33:20 +08:00

Use var where possible

This commit is contained in:
Dean Herbert 2018-06-21 17:49:04 +09:00
parent c64f64814f
commit 34498f7f86

View File

@ -95,7 +95,7 @@ namespace osu.Game.Rulesets.Catch.Difficulty
double actualStrainStep = strain_step * timeRate; double actualStrainStep = strain_step * timeRate;
// Find the highest strain value within each strain step // Find the highest strain value within each strain step
List<double> highestStrains = new List<double>(); var highestStrains = new List<double>();
double intervalEndTime = actualStrainStep; double intervalEndTime = actualStrainStep;
double maximumStrain = 0; // We need to keep track of the maximum strain in the current interval double maximumStrain = 0; // We need to keep track of the maximum strain in the current interval