mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
吃东西时候重置心情掉落计数
This commit is contained in:
parent
c4306212d4
commit
504efba24b
@ -461,6 +461,7 @@ namespace VPet_Simulator.Windows
|
|||||||
public void TakeItem(Food item)
|
public void TakeItem(Food item)
|
||||||
{
|
{
|
||||||
//获取吃腻时间
|
//获取吃腻时间
|
||||||
|
Main.LastInteractionTime = DateTime.Now;
|
||||||
DateTime now = DateTime.Now;
|
DateTime now = DateTime.Now;
|
||||||
DateTime eattime = GameSavesData["buytime"].GetDateTime(item.Name, now);
|
DateTime eattime = GameSavesData["buytime"].GetDateTime(item.Name, now);
|
||||||
double eattimes = 0;
|
double eattimes = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user