fix: Fixes backup folder not being created (#801)
This commit is contained in:
parent
fa5eafdaff
commit
b5799c33af
2 changed files with 8 additions and 11 deletions
|
|
@ -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}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue