diff --git a/FModel/Methods/PAKs/RegisterFromPath.cs b/FModel/Methods/PAKs/RegisterFromPath.cs index 4589cfb4..211d6503 100644 --- a/FModel/Methods/PAKs/RegisterFromPath.cs +++ b/FModel/Methods/PAKs/RegisterFromPath.cs @@ -55,7 +55,7 @@ namespace FModel.Methods.PAKs private static IEnumerable GetPAKsFromPath() { - return Directory.GetFiles(PAK_PATH).Where(x => x.EndsWith(".pak")); + return Directory.GetFiles(PAK_PATH,"*.pak",SearchOption.AllDirectories); } } -} \ No newline at end of file +}