Skip to content

Commit

Permalink
- Fixed mods count
Browse files Browse the repository at this point in the history
  • Loading branch information
Enclave2020 committed Jan 29, 2019
1 parent 66a738d commit 13d7a3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion ModManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void Process()

string[] ba2Archives = Directory.GetFiles($"{GetFallout76Path()}\\Data\\", "*.ba2");

Console.WriteLine($"Detected {ba2Archives.Length} mods.");
int modsCount = 0;

foreach (string ba2Archive in ba2Archives)
{
Expand All @@ -84,6 +84,8 @@ public void Process()
continue;
}

modsCount += 1;

BA2 ba2 = new BA2(ba2Archive);

foreach (ArchiveEntry file in ba2.Files)
Expand All @@ -110,6 +112,8 @@ public void Process()
}

WriteFallout76Customs(sResourceArchive2List, sResourceStartUpArchiveList);

Console.WriteLine($"Enabled {modsCount} mods.");
}

void WriteFallout76Customs(string sResourceArchive2List, string sResourceStartUpArchiveList)
Expand Down
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.1.0")]
[assembly: AssemblyFileVersion("1.1.1")]

0 comments on commit 13d7a3b

Please sign in to comment.