mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
更好买有效度刷新 Fix #186
This commit is contained in:
parent
146a08bea4
commit
1c8420d139
@ -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;
|
||||
//统计
|
||||
|
@ -70,7 +70,7 @@ namespace VPet_Simulator.Windows
|
||||
if (food != null)
|
||||
{
|
||||
food.LoadEatTimeSource(mw);
|
||||
food.NotifyOfPropertyChange("Eattime");
|
||||
food.NotifyOfPropertyChange("Description");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user