use list to store objects in their original order

This commit is contained in:
Perfare
2020-03-28 14:13:25 +08:00
parent c4270e186d
commit e1dc54d6d7
4 changed files with 16 additions and 8 deletions

View File

@ -57,7 +57,7 @@ namespace AssetStudio
{
if (TryGetAssetsFile(out var sourceFile))
{
if (sourceFile.Objects.TryGetValue(m_PathID, out var obj))
if (sourceFile.ObjectsDic.TryGetValue(m_PathID, out var obj))
{
if (obj is T variable)
{
@ -75,7 +75,7 @@ namespace AssetStudio
{
if (TryGetAssetsFile(out var sourceFile))
{
if (sourceFile.Objects.TryGetValue(m_PathID, out var obj))
if (sourceFile.ObjectsDic.TryGetValue(m_PathID, out var obj))
{
if (obj is T2 variable)
{