mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复steam云同步文件导致游戏无法启动的错误
This commit is contained in:
parent
a047c906db
commit
af49858786
@ -287,10 +287,14 @@ namespace VPet_Simulator.Windows
|
||||
return i;
|
||||
return 0;
|
||||
}).ToList();
|
||||
int.TryParse(ds.Last().Split('_')[1].Split('.')[0], out int lastid);
|
||||
if (Set.SaveTimes < lastid)
|
||||
|
||||
if (ds.Count != 0)
|
||||
{
|
||||
Set.SaveTimes = lastid;
|
||||
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--)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user