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
@ -40,7 +40,7 @@ namespace VPet_Simulator.Windows
|
||||
{
|
||||
public partial class MainWindow : IMainWindow
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 加载主题
|
||||
/// </summary>
|
||||
@ -108,7 +108,7 @@ namespace VPet_Simulator.Windows
|
||||
Panuon.WPF.UI.GlobalSettings.Setting.FontFamily = font;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获得自动点击的文本
|
||||
/// </summary>
|
||||
@ -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)]++;
|
||||
|
Loading…
Reference in New Issue
Block a user