From 8ae3df6197adbe3f293d2b5e094a063c3df3e5d5 Mon Sep 17 00:00:00 2001 From: Perfare Date: Sat, 21 May 2022 21:16:34 +0800 Subject: [PATCH] minor improvements --- AssetStudio/AssetsManager.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AssetStudio/AssetsManager.cs b/AssetStudio/AssetsManager.cs index 5dc3152..497fac1 100644 --- a/AssetStudio/AssetsManager.cs +++ b/AssetStudio/AssetsManager.cs @@ -17,8 +17,8 @@ namespace AssetStudio internal Dictionary resourceFileReaders = new Dictionary(StringComparer.OrdinalIgnoreCase); private List importFiles = new List(); - private List noexistFiles = new List(); private HashSet importFilesHash = new HashSet(StringComparer.OrdinalIgnoreCase); + private HashSet noexistFiles = new HashSet(StringComparer.OrdinalIgnoreCase); private HashSet assetsFileListHash = new HashSet(StringComparer.OrdinalIgnoreCase); public void LoadFiles(params string[] files) @@ -122,7 +122,6 @@ namespace AssetStudio sharedFilePath = findFiles[0]; } } - if (File.Exists(sharedFilePath)) { importFiles.Add(sharedFilePath);