From 46bc7b609f56edd9dc4b66b525fcd6facd3060f7 Mon Sep 17 00:00:00 2001 From: ZouJin Date: Sun, 12 May 2024 00:22:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=88=E5=AF=B9=E7=9A=AE=E8=82=A4=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E7=9A=84=E4=BC=98=E5=8C=96=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs index c9ad5d5..f35e580 100644 --- a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs +++ b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs @@ -1028,8 +1028,8 @@ namespace VPet_Simulator.Windows 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)) {