读空存档加载备份

This commit is contained in:
ZouJin 2023-08-17 04:16:42 +10:00
parent c26f4eb6d3
commit 44c196351a

View File

@ -44,7 +44,7 @@ namespace VPet_Simulator.Windows
/// <summary>
/// 版本号
/// </summary>
public int verison { get; } = 100;
public int verison { get; } = 101;
/// <summary>
/// 版本号
/// </summary>
@ -442,6 +442,8 @@ namespace VPet_Simulator.Windows
{
if (line == null)
return false;
if (string.IsNullOrWhiteSpace(line.ToString()))
return false;
Core.Save = GameSave.Load(line);
long hash = line.GetInt64("hash");
if (line.Remove("hash"))