mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-22 15:02:54 +08:00
Sort gxt2 entries by hash when saving
This commit is contained in:
parent
28eab37033
commit
2c3b8ee01d
@ -141,6 +141,7 @@ namespace CodeWalker.GameFiles
|
||||
//error parsing hash, probably should tell the user about this somehow
|
||||
}
|
||||
}
|
||||
entries.Sort((a, b) => a.Hash.CompareTo(b.Hash));
|
||||
gxt.TextEntries = entries.ToArray();
|
||||
gxt.EntryCount = (uint)entries.Count;
|
||||
return gxt;
|
||||
|
Loading…
Reference in New Issue
Block a user