From 49da707f4d1d3da0f3be0cf6db8ca09a3d15b95b Mon Sep 17 00:00:00 2001 From: ZouJin Date: Thu, 31 Aug 2023 21:39:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=BC=80=E6=97=B6=E5=BF=98=E8=AE=B0?= =?UTF-8?q?=E9=87=8D=E7=BD=AEHashCheck=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs index bb07ddc..a7dd3ef 100644 --- a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs +++ b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs @@ -1202,7 +1202,9 @@ namespace VPet_Simulator.Windows if (MessageBoxX.Show("是否重置游戏数据重新开始?\n该操作无法撤回".Translate(), "重新开始".Translate(), MessageBoxButton.YesNo) == MessageBoxResult.Yes) { mw.Core.Save = new GameSave(mw.Core.Save.Name); - mw.Set.Statistics = new Statistics(); + if (!mw.HashCheck) + mw.Set.Statistics = new Statistics(); + mw.HashCheck = true; CBSaveReLoad.IsEnabled = false; BtnSaveReload.IsEnabled = false; MessageBoxX.Show("重置成功".Translate());