We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b7853a commit 6ee248fCopy full SHA for 6ee248f
xcom2-launcher/xcom2-launcher/Program.cs
@@ -142,6 +142,9 @@ public static Settings InitializeSettings()
142
if (!settings.ModPaths.Contains(modPath))
143
settings.ModPaths.Add(modPath);
144
145
+ var pathsToEdit = settings.ModPaths.Where(m => !m.EndsWith("\\"));
146
+ for (int i = 0; i < pathsToEdit.Count(); i++)
147
+ settings.ModPaths[i] += "\\";
148
149
if (settings.ModPaths.Count == 0)
150
MessageBox.Show(@"Could not find XCOM 2 mod directories. Please fill them in manually in the settings.");
0 commit comments