From 26357c2233fcb59fa21a995f5d71d85bb28bea33 Mon Sep 17 00:00:00 2001 From: ZouJin Date: Sat, 26 Aug 2023 16:56:23 +1000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=87=8D=E7=BD=AE=E6=B8=B8?= =?UTF-8?q?=E6=88=8F=E7=9B=B8=E5=85=B3bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Core/Display/MainDisplay.cs | 1 - VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/VPet-Simulator.Core/Display/MainDisplay.cs b/VPet-Simulator.Core/Display/MainDisplay.cs index 1dec294..eaabe3c 100644 --- a/VPet-Simulator.Core/Display/MainDisplay.cs +++ b/VPet-Simulator.Core/Display/MainDisplay.cs @@ -423,7 +423,6 @@ namespace VPet_Simulator.Core /// /// 动画类型 /// 动画结束后操作(附带名字) - ///// 是否储存随机数字典 /// 动画的动作 Start Loop End public void Display(GraphType Type, AnimatType animat, Action EndAction = null) { diff --git a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs index 9b1d8f3..4b94c35 100644 --- a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs +++ b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs @@ -1185,7 +1185,7 @@ namespace VPet_Simulator.Windows private void restart_click(object sender, RoutedEventArgs e) { - if (MessageBoxX.Show("是否重置游戏数据重新开始?\n该操作无法撤回".Translate(), "重新开始".Translate()) == MessageBoxResult.Yes) + if (MessageBoxX.Show("是否重置游戏数据重新开始?\n该操作无法撤回".Translate(), "重新开始".Translate(), MessageBoxButton.YesNo) == MessageBoxResult.Yes) { mw.Core.Save = new GameSave(); mw.Set.Statistics = new Statistics();