Browse Source

Remove exist check for mod prop icon files

Improves performance.
habeebweeb 3 years ago
parent
commit
4869f7c230
1 changed files with 1 additions and 1 deletions
  1. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Constants.cs

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Constants.cs

@@ -957,7 +957,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
                     {
                         Texture2D icon;
                         string iconFile = item.IconFile;
-                        if (string.IsNullOrEmpty(iconFile) || !GameUty.FileSystem.IsExistentFile(iconFile))
+                        if (string.IsNullOrEmpty(iconFile))
                         {
                             Utility.LogWarning($"Could not find icon '{iconFile}' for menu '{item.MenuFile}");
                             return true;