mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
移除从设置中读取统计
现在版本已经足够新,不会有旧玩家迁移进来了
This commit is contained in:
parent
cb5e175b00
commit
e096b03009
@ -33,19 +33,20 @@ namespace VPet_Simulator.Windows.Interface
|
||||
allowmove = !this["gameconfig"].GetBool("allowmove");
|
||||
smartmove = this["gameconfig"].GetBool("smartmove");
|
||||
enablefunction = !this["gameconfig"].GetBool("nofunction");
|
||||
Statistics_OLD = new Statistics(this["statistics"].ToList());
|
||||
//Statistics_OLD = new Statistics(this["statistics"].ToList());
|
||||
autobuy = this["gameconfig"].GetBool("autobuy");
|
||||
autogift = this["gameconfig"].GetBool("autogift");
|
||||
}
|
||||
public override string ToString()
|
||||
{//留作备份,未来版本删了
|
||||
this["statistics"] = new Line("statistics", "", "", Statistics_OLD.ToSubs().ToArray());
|
||||
return base.ToString();
|
||||
}
|
||||
/// <summary>
|
||||
/// 统计数据信息(旧)
|
||||
/// </summary>
|
||||
public Statistics Statistics_OLD;
|
||||
//public override string ToString()
|
||||
//{//留作备份,未来版本删了
|
||||
// this["statistics"] = new Line("statistics", "", "", Statistics_OLD.ToSubs().ToArray());
|
||||
// return base.ToString();
|
||||
//}
|
||||
|
||||
///// <summary>
|
||||
///// 统计数据信息(旧)
|
||||
///// </summary>
|
||||
//public Statistics Statistics_OLD;
|
||||
|
||||
//public Size WindowsSize
|
||||
//{
|
||||
|
@ -712,7 +712,7 @@ namespace VPet_Simulator.Windows
|
||||
else
|
||||
data.Add(new Line(item.Name, item.Info));
|
||||
}
|
||||
tmp = new GameSave_v2(lps, Set.Statistics_OLD, olddata: data);
|
||||
tmp = new GameSave_v2(lps, null, olddata: data);
|
||||
}
|
||||
if (tmp.GameSave == null)
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user