Skip to content

Commit

Permalink
Merge pull request #302 from Aragas/dev
Browse files Browse the repository at this point in the history
v5.0.2 #2
  • Loading branch information
Aragas authored Oct 31, 2022
2 parents e4666e3 + 88228ff commit ec1ba3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MCM.Bannerlord/MCMImplementationSubModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ static void MoveDirectory(string source, string target)

var oldConfigPath = Path.GetFullPath("Configs");
var oldPath = Path.Combine(oldConfigPath, "ModSettings");
var newPath = Path.Combine(PlatformFileHelperPCExtended.GetDirectoryFullPath(EngineFilePaths.ConfigsPath), "ModSettings");
var newPath = Path.Combine(PlatformFileHelperPCExtended.GetDirectoryFullPath(EngineFilePaths.ConfigsPath) ?? string.Empty, "ModSettings");
if (Directory.Exists(oldPath) && Directory.Exists(newPath))
{
foreach (var filePath in Directory.GetFiles(oldPath))
Expand Down

0 comments on commit ec1ba3e

Please sign in to comment.