浏览代码

增加无可用副本时,取消追踪

ChengRanORZ 1 年之前
父节点
当前提交
fcd8b55924
共有 1 个文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      tasks/WantedQuests/script_task.py

+ 1 - 0
tasks/WantedQuests/script_task.py

@@ -384,6 +384,7 @@ class ScriptTask(WQExplore, SecretScriptTask, WantedQuestsAssets):
         info_wq_list = [item for item in info_wq_list if item not in self.want_strategy_excluding]
         if not info_wq_list:
             logger.warning('No wanted quests can be challenged')
+            self.ui_click(self.I_TRACE_TRUE, self.I_TRACE_FALSE)
             return False
         # sort
         info_wq_list.sort(key=lambda x: x[0])