mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
重开时忘记重置HashCheck了
This commit is contained in:
parent
4d568affca
commit
49da707f4d
@ -1202,7 +1202,9 @@ namespace VPet_Simulator.Windows
|
|||||||
if (MessageBoxX.Show("是否重置游戏数据重新开始?\n该操作无法撤回".Translate(), "重新开始".Translate(), MessageBoxButton.YesNo) == MessageBoxResult.Yes)
|
if (MessageBoxX.Show("是否重置游戏数据重新开始?\n该操作无法撤回".Translate(), "重新开始".Translate(), MessageBoxButton.YesNo) == MessageBoxResult.Yes)
|
||||||
{
|
{
|
||||||
mw.Core.Save = new GameSave(mw.Core.Save.Name);
|
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;
|
CBSaveReLoad.IsEnabled = false;
|
||||||
BtnSaveReload.IsEnabled = false;
|
BtnSaveReload.IsEnabled = false;
|
||||||
MessageBoxX.Show("重置成功".Translate());
|
MessageBoxX.Show("重置成功".Translate());
|
||||||
|
Loading…
Reference in New Issue
Block a user