Merge pull request #209 from Lucas7yoshi/master

Order clips in ycd files alphabetically to improve readability
This commit is contained in:
dexyfex 2023-08-21 14:39:32 +10:00 committed by GitHub
commit e39ac3afd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,7 +138,7 @@ namespace CodeWalker.Forms
if (ycd?.ClipMapEntries != null)
{
foreach (var cme in ycd.ClipMapEntries)
foreach (var cme in ycd.ClipMapEntries.OrderBy(x => x.Clip?.ShortName ?? x.Hash.ToString())
{
if (cme != null)
{