修复steam云同步文件导致游戏无法启动的错误

This commit is contained in:
ZouJin 2023-10-04 19:53:52 +08:00
parent a047c906db
commit af49858786

View File

@ -287,11 +287,15 @@ namespace VPet_Simulator.Windows
return i;
return 0;
}).ToList();
if (ds.Count != 0)
{
int.TryParse(ds.Last().Split('_')[1].Split('.')[0], out int lastid);
if (Set.SaveTimes < lastid)
{
Set.SaveTimes = lastid;
}
}
for (int i = ds.Count - 1; i >= 0; i--)
{
var latestsave = ds[i];