mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
读空存档加载备份
This commit is contained in:
parent
c26f4eb6d3
commit
44c196351a
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user