Start IDs at 1

This commit is contained in:
Dean Herbert 2018-09-22 06:36:45 +09:00
parent 2f2dcec8c7
commit a113cf4118

View File

@ -109,7 +109,7 @@ namespace osu.Game.Tournament.Screens.Ladder
paths.Clear();
int id = 0;
int id = 1;
foreach (var pairing in pairingsContainer.OrderBy(d => d.Y).ThenBy(d => d.X))
{
pairing.Pairing.ID = id++;