fix: Fixes backup folder not being created (#801)

This commit is contained in:
Kamron Batman 2021-09-26 09:06:11 -07:00 • committed by GitHub
parent fa5eafdaff
commit b5799c33af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 11 deletions

View file

@ -86,7 +86,7 @@ namespace Server.Saves
}
var backupPath = Path.Combine(BackupPath, Utility.GetTimeStamp());
AssemblyHandler.EnsureDirectory(BackupPath);
AssemblyHandler.EnsureDirectory(backupPath);
Directory.Move(args.OldSavePath, backupPath);
logger.Information($"Created backup at {backupPath}");