mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Removed recursiveness when checking for .wabbajack for valid MO2 installs
This commit is contained in:
parent
b97cabd1e6
commit
d30f81ecbd
@ -327,7 +327,7 @@ namespace Wabbajack.Lib
|
||||
if (!Directory.Exists(path)) return ErrorResponse.Success;
|
||||
|
||||
// Check folder does not have a wabbajack modlist
|
||||
foreach (var file in Directory.EnumerateFiles(path, DirectoryEnumerationOptions.Recursive))
|
||||
foreach (var file in Directory.EnumerateFiles(path))
|
||||
{
|
||||
if (!File.Exists(file)) continue;
|
||||
if (System.IO.Path.GetExtension(file).Equals(ExtensionManager.Extension))
|
||||
|
Loading…
Reference in New Issue
Block a user