Skip to content

Commit

Permalink
Fix .fix folder would sometimes not be rejected
Browse files Browse the repository at this point in the history
  • Loading branch information
FenPhoenix committed Apr 14, 2019
1 parent f05a566 commit a97d91a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion AngelLoader/Common/Utility/Methods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ internal static List<string> GetFMArchivePaths()
{
foreach (var dir in Directory.GetDirectories(path, "*", SearchOption.AllDirectories))
{
if (!dir.GetDirNameFast().EqualsI(".fix")) paths.Add(dir);
if (!dir.GetDirNameFast().EqualsI(".fix") &&
!dir.ContainsI(Path.DirectorySeparatorChar + ".fix" + Path.DirectorySeparatorChar))
{
paths.Add(dir);
}
}
}
catch (Exception ex)
Expand Down

0 comments on commit a97d91a

Please sign in to comment.