1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 19:27:31 +08:00

Add braces for clarification

I like no-braces for single-line ifs as much as anyone, but with inline
comments involved it gets rather dicey.
This commit is contained in:
Bartłomiej Dach 2023-08-19 14:34:20 +02:00
parent 2b09594823
commit 0a55830c16
No known key found for this signature in database

View File

@ -254,8 +254,10 @@ namespace osu.Game.Rulesets.Objects
}
if (i > 0)
{
// Remember the index of the segment end
segmentEnds.Add(calculatedPath.Count - 1);
}
// Start the new segment at the current vertex
start = i;