修复切换宠物未自动切换名字的错误

This commit is contained in:
ZouJin 2023-08-29 14:40:24 +08:00
parent a1daace487
commit 8819235548

View File

@ -821,7 +821,7 @@ namespace VPet_Simulator.Windows
if (ischangename)
{
mw.Core.Save.Name = petloader.PetName.Translate();
mw.Core.Save.Name = mw.Pets[PetBox.SelectedIndex].PetName.Translate();
TextBoxPetName.Text = mw.Core.Save.Name;
if (mw.IsSteamUser)
SteamFriends.SetRichPresence("username", mw.Core.Save.Name);
@ -869,7 +869,7 @@ namespace VPet_Simulator.Windows
// MessageBoxX.Show("桌宠重置成功".Translate());
// }
//});
//TODO ((TalkSelect)mw.TalkBox)
//((TalkSelect)mw.TalkBox).RelsTime
break;
case "OFF":
default: