Code cleanup (#188)
This commit is contained in:
parent
df53c16620
commit
010fd9402a
185 changed files with 1052 additions and 1271 deletions
|
|
@ -141,7 +141,7 @@ namespace Server.Misc
|
|||
string saves = Path.Combine(Core.BaseDirectory, "Saves");
|
||||
|
||||
if (Directory.Exists(saves))
|
||||
Directory.Move(saves, FormatDirectory(root, m_Backups[m_Backups.Length - 1], GetTimeStamp()));
|
||||
Directory.Move(saves, FormatDirectory(root, m_Backups[^1], GetTimeStamp()));
|
||||
}
|
||||
|
||||
private static DirectoryInfo Match(string[] paths, string match)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue