From 5a4e568e8a59c571869dfe96c6e22b73cb81b727 Mon Sep 17 00:00:00 2001 From: ZouJin Date: Thu, 31 Aug 2023 15:50:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8A=A0=E8=BD=BD=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E8=BF=98=E5=8A=A0=E8=BD=BD=E5=A4=87=E4=BB=BD=E5=AD=98?= =?UTF-8?q?=E6=A1=A3=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VPet-Simulator.Windows/MainWindow.xaml.cs b/VPet-Simulator.Windows/MainWindow.xaml.cs index 20bef4d..c1016d2 100644 --- a/VPet-Simulator.Windows/MainWindow.xaml.cs +++ b/VPet-Simulator.Windows/MainWindow.xaml.cs @@ -375,7 +375,7 @@ namespace VPet_Simulator.Windows if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + @"\Save.lps")) try { - if (GameLoad(new LpsDocument(File.ReadAllText(AppDomain.CurrentDomain.BaseDirectory + @"\Save.lps")).First())) + if (!GameLoad(new LpsDocument(File.ReadAllText(AppDomain.CurrentDomain.BaseDirectory + @"\Save.lps")).First())) { //如果加载存档失败了,试试加载备份,如果没备份,就新建一个 LoadLatestSave(petloader.PetName);