From 132c34b3992adad7402be1a363b5cb68be8b4cfc Mon Sep 17 00:00:00 2001 From: Raymond Date: Mon, 20 Sep 2021 09:51:25 -0400 Subject: [PATCH] only check the images folder --- .../Interface/Internal/Windows/PluginInstallerWindow.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs index 874993bd9..27625a60d 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs @@ -246,14 +246,7 @@ namespace Dalamud.Interface.Internal.Windows var output = new List(); for (var i = 1; i <= 5; i++) { - var devUrl = new FileInfo(Path.Combine(pluginDir.FullName, $"image{i}.png")); - if (devUrl.Exists) - { - output.Add(devUrl); - continue; - } - - devUrl = new FileInfo(Path.Combine(pluginDir.FullName, "images", $"image{i}.png")); + var devUrl = new FileInfo(Path.Combine(pluginDir.FullName, "images", $"image{i}.png")); if (devUrl.Exists) { output.Add(devUrl);