From fa9a62eb90cfc8d22fe5d4bc7136baa8b4134461 Mon Sep 17 00:00:00 2001 From: ZouJin Date: Thu, 28 Mar 2024 20:28:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9B=B4=E5=A5=BD=E4=B9=B0?= =?UTF-8?q?=E6=94=B6=E8=97=8F=E5=A4=B1=E6=95=88=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows.Interface/Mod/Food.cs | 2 +- VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VPet-Simulator.Windows.Interface/Mod/Food.cs b/VPet-Simulator.Windows.Interface/Mod/Food.cs index 09d7494..bffbeec 100644 --- a/VPet-Simulator.Windows.Interface/Mod/Food.cs +++ b/VPet-Simulator.Windows.Interface/Mod/Food.cs @@ -171,7 +171,7 @@ namespace VPet_Simulator.Windows.Interface public void LoadImageSource(IMainWindow imw) { ImageSource = imw.ImageSources.FindImage("food_" + (Image ?? Name), "food"); - Star = imw.Set["betterbuy"].GetInfos().Contains(Name); + Star = imw.Set["betterbuy"]["star"].GetInfos().Contains(Name); LoadEatTimeSource(imw); } public void LoadEatTimeSource(IMainWindow imw) diff --git a/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml b/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml index 9c98522..575c3d8 100644 --- a/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml +++ b/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml @@ -44,7 +44,8 @@ FontSize="{Binding FontSize, Source={x:Static pu:GlobalSettings.Setting}}">ID: + FontSize="{Binding FontSize, Source={x:Static pu:GlobalSettings.Setting}}" + Margin="5,0,0,0" />