mirror of
https://github.com/4sval/FModel.git
synced 2026-08-25 10:54:35 -05:00
Search in the subdirectories also to find pak files
This commit is contained in:
@@ -55,7 +55,7 @@ namespace FModel.Methods.PAKs
|
||||
|
||||
private static IEnumerable<string> GetPAKsFromPath()
|
||||
{
|
||||
return Directory.GetFiles(PAK_PATH).Where(x => x.EndsWith(".pak"));
|
||||
return Directory.GetFiles(PAK_PATH,"*.pak",SearchOption.AllDirectories);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user