From 81f0de0524b75c4cead90b41aced735a487150a4 Mon Sep 17 00:00:00 2001 From: ZouJin Date: Wed, 20 Mar 2024 12:45:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A7=E7=89=88=E6=9C=AC=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E5=85=BC=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/Function/CoreMOD.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VPet-Simulator.Windows/Function/CoreMOD.cs b/VPet-Simulator.Windows/Function/CoreMOD.cs index 4601703..2e7f976 100644 --- a/VPet-Simulator.Windows/Function/CoreMOD.cs +++ b/VPet-Simulator.Windows/Function/CoreMOD.cs @@ -171,6 +171,9 @@ namespace VPet_Simulator.Windows if (lps.First().Name.ToLower() == "pet") { var name = lps.First().Info; + if (name == "默认虚拟桌宠") + name = "vup";//旧版本名称兼容 + var p = mw.Pets.FirstOrDefault(x => x.Name == name); if (p == null) {