mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复切换宠物未自动切换名字的错误
This commit is contained in:
parent
a1daace487
commit
8819235548
@ -821,7 +821,7 @@ namespace VPet_Simulator.Windows
|
|||||||
|
|
||||||
if (ischangename)
|
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;
|
TextBoxPetName.Text = mw.Core.Save.Name;
|
||||||
if (mw.IsSteamUser)
|
if (mw.IsSteamUser)
|
||||||
SteamFriends.SetRichPresence("username", mw.Core.Save.Name);
|
SteamFriends.SetRichPresence("username", mw.Core.Save.Name);
|
||||||
@ -869,7 +869,7 @@ namespace VPet_Simulator.Windows
|
|||||||
// MessageBoxX.Show("桌宠重置成功".Translate());
|
// MessageBoxX.Show("桌宠重置成功".Translate());
|
||||||
// }
|
// }
|
||||||
//});
|
//});
|
||||||
//TODO ((TalkSelect)mw.TalkBox)
|
//((TalkSelect)mw.TalkBox).RelsTime
|
||||||
break;
|
break;
|
||||||
case "OFF":
|
case "OFF":
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user