فهرست منبع

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

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]
         info_wq_list = [item for item in info_wq_list if item not in self.want_strategy_excluding]
         if not info_wq_list:
         if not info_wq_list:
             logger.warning('No wanted quests can be challenged')
             logger.warning('No wanted quests can be challenged')
+            self.ui_click(self.I_TRACE_TRUE, self.I_TRACE_FALSE)
             return False
             return False
         # sort
         # sort
         info_wq_list.sort(key=lambda x: x[0])
         info_wq_list.sort(key=lambda x: x[0])