From bfd517d0f1b4803cb126c7be3c7b33c6d50730cb Mon Sep 17 00:00:00 2001 From: ZouJin Date: Wed, 3 Apr 2024 00:20:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=83=E5=AE=8C=E4=B8=9C=E8=A5=BF=E8=AE=B0?= =?UTF-8?q?=E5=BE=97=E8=AE=A1=E7=AE=97=E4=B8=8B=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/MainWindow.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/VPet-Simulator.Windows/MainWindow.cs b/VPet-Simulator.Windows/MainWindow.cs index a50f3faf..854ee73c 100644 --- a/VPet-Simulator.Windows/MainWindow.cs +++ b/VPet-Simulator.Windows/MainWindow.cs @@ -40,7 +40,7 @@ namespace VPet_Simulator.Windows { public partial class MainWindow : IMainWindow { - + /// /// 加载主题 /// @@ -108,7 +108,7 @@ namespace VPet_Simulator.Windows Panuon.WPF.UI.GlobalSettings.Setting.FontFamily = font; } - + /// /// 获得自动点击的文本 /// @@ -629,6 +629,8 @@ namespace VPet_Simulator.Windows item.NotifyOfPropertyChange("Description"); Core.Save.Money -= item.Price; + //吃完东西记得计算下状态 + Core.Save.Mode = Core.Save.CalMode(); //统计 GameSavesData.Statistics[(gint)"stat_buytimes"]++; GameSavesData.Statistics[(gint)("buy_" + item.Name)]++;