修复重置游戏相关bug

This commit is contained in:
ZouJin 2023-08-26 16:56:23 +10:00
parent f39b49cc56
commit 26357c2233
2 changed files with 1 additions and 2 deletions

View File

@ -423,7 +423,6 @@ namespace VPet_Simulator.Core
/// </summary>
/// <param name="Type">动画类型</param>
/// <param name="EndAction">动画结束后操作(附带名字)</param>
///// <param name="storernd">是否储存随机数字典</param>
/// <param name="animat">动画的动作 Start Loop End</param>
public void Display(GraphType Type, AnimatType animat, Action<string> EndAction = null)
{

View File

@ -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();