This commit is contained in:
ZouJin 2023-08-15 21:31:02 +10:00
parent ae4dbd3415
commit 2c8dbfb80d

View File

@ -238,7 +238,10 @@ namespace VPet_Simulator.Windows
}
if (!_puswitch.IsChecked.Value)
{
rMoney.Text = mw.Core.Save.Money.ToString("f2");
TryClose();
}
var name = mw.Core.Graph.FindName(item.Type == Food.FoodType.Drink ? GraphType.Drink : GraphType.Eat);
var ig = mw.Core.Graph.FindGraph(name, AnimatType.Single, mw.Core.Save.Mode);
if (ig != null)