diff --git a/VPet-Simulator.Windows/MainWindow.xaml.cs b/VPet-Simulator.Windows/MainWindow.xaml.cs index c67f713..87b0000 100644 --- a/VPet-Simulator.Windows/MainWindow.xaml.cs +++ b/VPet-Simulator.Windows/MainWindow.xaml.cs @@ -167,13 +167,13 @@ namespace VPet_Simulator.Windows file.MoveTo(ExtensionValue.BaseDirectory + @"\Saves\" + file.Name); else file.Delete(); - Directory.Delete(ExtensionValue.BaseDirectory + @"\BackUP"); + Directory.Delete(ExtensionValue.BaseDirectory + @"\BackUP", true); } } - if (!Directory.Exists(ExtensionValue.BaseDirectory + @"\Saves")) - { - Directory.CreateDirectory(ExtensionValue.BaseDirectory + @"\Saves"); - } + //if (!Directory.Exists(ExtensionValue.BaseDirectory + @"\Saves")) + //{ + // Directory.CreateDirectory(ExtensionValue.BaseDirectory + @"\Saves"); + //} Task.Run(GameLoad); }