Skip to content

Commit 13d7a3b

Browse files
committed
- Fixed mods count
1 parent 66a738d commit 13d7a3b

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

ModManager.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void Process()
7474

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

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

7979
foreach (string ba2Archive in ba2Archives)
8080
{
@@ -84,6 +84,8 @@ public void Process()
8484
continue;
8585
}
8686

87+
modsCount += 1;
88+
8789
BA2 ba2 = new BA2(ba2Archive);
8890

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

112114
WriteFallout76Customs(sResourceArchive2List, sResourceStartUpArchiveList);
115+
116+
Console.WriteLine($"Enabled {modsCount} mods.");
113117
}
114118

115119
void WriteFallout76Customs(string sResourceArchive2List, string sResourceStartUpArchiveList)

Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@
3232
// by using the '*' as shown below:
3333
// [assembly: AssemblyVersion("1.0.*")]
3434
[assembly: AssemblyVersion("1.0.0.0")]
35-
[assembly: AssemblyFileVersion("1.1.0")]
35+
[assembly: AssemblyFileVersion("1.1.1")]

0 commit comments

Comments
 (0)