mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 10:57:45 +08:00
fix: JP paradox
This commit is contained in:
@@ -1324,6 +1324,7 @@
|
||||
"text": ["職分"]
|
||||
},
|
||||
"BattleStartPre": {
|
||||
"ocrReplace": [["算.*", ""]],
|
||||
"text": ["行動開始", "開始", "試練", "挑戦", "作戦", "推論"]
|
||||
},
|
||||
"BattleStartOCR": {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user