1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Rename iteration variable

This commit is contained in:
Pasi4K5 2021-06-04 17:22:36 +02:00
parent 32e41048ff
commit b4f190c6ff

View File

@ -156,9 +156,9 @@ namespace osu.Game.Rulesets.Osu.Mods
var minMargin = new MarginPadding();
Vector2 pos;
for (double j = 0; j <= 1; j += 1 / (slider_path_checking_rate / 1000 * (slider.EndTime - slider.StartTime)))
for (double i = 0; i <= 1; i += 1 / (slider_path_checking_rate / 1000 * (slider.EndTime - slider.StartTime)))
{
pos = slider.Path.PositionAt(j);
pos = slider.Path.PositionAt(i);
updateMargin();
}