更好买有效度刷新 Fix #186

This commit is contained in:
ZouJin 2023-09-06 23:23:32 +08:00
parent 146a08bea4
commit 1c8420d139
2 changed files with 2 additions and 2 deletions

View File

@ -433,7 +433,7 @@ namespace VPet_Simulator.Windows
Set.PetData.SetDateTime("buytime_" + item.Name, now.AddHours(eattimes));
//通知
item.LoadEatTimeSource(this);
item.NotifyOfPropertyChange("Eattime");
item.NotifyOfPropertyChange("Description");
Core.Save.Money -= item.Price;
//统计

View File

@ -70,7 +70,7 @@ namespace VPet_Simulator.Windows
if (food != null)
{
food.LoadEatTimeSource(mw);
food.NotifyOfPropertyChange("Eattime");
food.NotifyOfPropertyChange("Description");
}
}
}