fix: JP paradox

This commit is contained in:
Manicsteiner
2025-11-13 17:33:42 +08:00
committed by Status102
parent e1df3d82dd
commit fe0d7a45f2
2 changed files with 2 additions and 1 deletions

View File

@@ -1324,6 +1324,7 @@
"text": ["職分"]
},
"BattleStartPre": {
"ocrReplace": [["算.*", ""]],
"text": ["行動開始", "開始", "試練", "挑戦", "作戦", "推論"]
},
"BattleStartOCR": {

View File

@@ -1569,7 +1569,7 @@ public partial class CopilotViewModel : Screen
bool ret = true;
foreach (var task in CopilotItemViewModels.Where(i => i.IsChecked))
{
if (!DataHelper.Operators.Any(op => op.Value.Name == task.Name))
if (!DataHelper.Operators.Any(op => op.Value.Name == DataHelper.GetLocalizedCharacterName(task.Name, "zh-cn")))
{
AddLog("illegal oper name: " + task.Name, UiLogColor.Error);
ret = false;