diff --git a/VPet-Simulator.Windows.Interface/Setting.cs b/VPet-Simulator.Windows.Interface/Setting.cs index 7a34d0b..4a87c95 100644 --- a/VPet-Simulator.Windows.Interface/Setting.cs +++ b/VPet-Simulator.Windows.Interface/Setting.cs @@ -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(); - } - /// - /// 统计数据信息(旧) - /// - public Statistics Statistics_OLD; + //public override string ToString() + //{//留作备份,未来版本删了 + // this["statistics"] = new Line("statistics", "", "", Statistics_OLD.ToSubs().ToArray()); + // return base.ToString(); + //} + + ///// + ///// 统计数据信息(旧) + ///// + //public Statistics Statistics_OLD; //public Size WindowsSize //{ diff --git a/VPet-Simulator.Windows/MainWindow.cs b/VPet-Simulator.Windows/MainWindow.cs index 72b97af..cffc625 100644 --- a/VPet-Simulator.Windows/MainWindow.cs +++ b/VPet-Simulator.Windows/MainWindow.cs @@ -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;