mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
数据全是0存档不加载
This commit is contained in:
parent
e589df4d92
commit
c5fe33e1ab
@ -576,7 +576,7 @@ namespace VPet_Simulator.Windows
|
||||
if (string.IsNullOrWhiteSpace(line.ToString()))
|
||||
return false;
|
||||
Core.Save = GameSave.Load(line);
|
||||
if (Core.Save.Money == 0 && Core.Save.Level == 0 && Core.Save.Likability == 0)//数据全是0,可能是bug
|
||||
if (Core.Save.Money == 0 && Core.Save.Likability == 0 && Core.Save.Exp == 0 && Core.Save.StrengthDrink == 0 && Core.Save.StrengthFood == 0)//数据全是0,可能是bug
|
||||
return false;
|
||||
long hash = line.GetInt64("hash");
|
||||
if (line.Remove("hash"))
|
||||
|
Loading…
Reference in New Issue
Block a user