perf: 肉鸽开局干员 隐藏未实装干员 (#8436)

This commit is contained in:
Manicsteiner
2024-03-01 03:42:50 +08:00
committed by GitHub
parent e64efa2a75
commit b672003dd5

View File

@@ -4180,7 +4180,7 @@ namespace MaaWpfGui.ViewModels.UI
}
var localizedName = DataHelper.GetLocalizedCharacterName(name, _language);
if (!string.IsNullOrEmpty(localizedName))
if (!string.IsNullOrEmpty(localizedName) && !(_clientType.Contains("YoStar") && DataHelper.GetLocalizedCharacterName(name, "en-us") == DataHelper.GetLocalizedCharacterName(name, "zh-cn")))
{
roguelikeCoreCharList.Add(localizedName);
}