mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复加载成功还加载备份存档的错误
This commit is contained in:
parent
72dfa895c3
commit
5a4e568e8a
@ -375,7 +375,7 @@ namespace VPet_Simulator.Windows
|
||||
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + @"\Save.lps"))
|
||||
try
|
||||
{
|
||||
if (GameLoad(new LpsDocument(File.ReadAllText(AppDomain.CurrentDomain.BaseDirectory + @"\Save.lps")).First()))
|
||||
if (!GameLoad(new LpsDocument(File.ReadAllText(AppDomain.CurrentDomain.BaseDirectory + @"\Save.lps")).First()))
|
||||
{
|
||||
//如果加载存档失败了,试试加载备份,如果没备份,就新建一个
|
||||
LoadLatestSave(petloader.PetName);
|
||||
|
Loading…
Reference in New Issue
Block a user