Skip to content

Commit

Permalink
针对皮肤切换的优化提示
Browse files Browse the repository at this point in the history
  • Loading branch information
LorisYounger committed May 11, 2024
1 parent 52e9695 commit 46bc7b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1028,8 +1028,8 @@ private void PetBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
if (!AllowChange)
return;

if (mw.PrefixSave == "")
{
if (mw.PrefixSave == "" && mw.Pets.Find(x => x.Name == mw.Set.PetGraph).PetName != mw.Pets[PetBox.SelectedIndex].PetName)
{//多一个名称判断, 如果宠物名称一致,则切换皮肤不提示多开
switch (MessageBoxX.Show("是否多开一个新的桌宠使用 {0} 皮肤\n各自存档独立保存,互不影响\n支持同时显示多个宠物".Translate(mw.Pets[PetBox.SelectedIndex].Name.Translate()),
"是否多开".Translate(), MessageBoxButton.YesNoCancel))
{
Expand Down

0 comments on commit 46bc7b6

Please sign in to comment.