Order Hair and Facepaint by id instead of idx.

This commit is contained in:
Ottermandias 2023-07-14 12:17:09 +02:00
parent 7022fc4fc9
commit 8090c370fd

View file

@ -436,7 +436,7 @@ public partial class CustomizationOptions
(ushort)hairRow.RowId)); (ushort)hairRow.RowId));
} }
return hairList.ToArray(); return hairList.OrderBy(h => h.Value.Value).ToArray();
} }
// Get Features. // Get Features.
@ -481,7 +481,7 @@ public partial class CustomizationOptions
paintList.Add(new CustomizeData(CustomizeIndex.FacePaint, (CustomizeValue)i, customizeIdx)); paintList.Add(new CustomizeData(CustomizeIndex.FacePaint, (CustomizeValue)i, customizeIdx));
} }
return paintList.ToArray(); return paintList.OrderBy(p => p.Value.Value).ToArray();
} }
// Specific icons for tails or ears. // Specific icons for tails or ears.