mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复重置游戏相关bug
This commit is contained in:
parent
f39b49cc56
commit
26357c2233
@ -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)
|
||||
{
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user