mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
吃完东西记得计算下状态
This commit is contained in:
parent
b9ce792a6c
commit
bfd517d0f1
@ -629,6 +629,8 @@ namespace VPet_Simulator.Windows
|
|||||||
item.NotifyOfPropertyChange("Description");
|
item.NotifyOfPropertyChange("Description");
|
||||||
|
|
||||||
Core.Save.Money -= item.Price;
|
Core.Save.Money -= item.Price;
|
||||||
|
//吃完东西记得计算下状态
|
||||||
|
Core.Save.Mode = Core.Save.CalMode();
|
||||||
//统计
|
//统计
|
||||||
GameSavesData.Statistics[(gint)"stat_buytimes"]++;
|
GameSavesData.Statistics[(gint)"stat_buytimes"]++;
|
||||||
GameSavesData.Statistics[(gint)("buy_" + item.Name)]++;
|
GameSavesData.Statistics[(gint)("buy_" + item.Name)]++;
|
||||||
|
Loading…
Reference in New Issue
Block a user