吃完东西记得计算下状态

This commit is contained in:
ZouJin 2024-04-03 00:20:06 +08:00
parent b9ce792a6c
commit bfd517d0f1

View File

@ -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)]++;