mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
旧版本名称兼容
This commit is contained in:
parent
68bf840210
commit
81f0de0524
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user