Quellcode durchsuchen

Merge pull request #1975 from weirj2016-ai/fix/dokan-create-every-run-dev

道馆任务每次运行时尝试开启道馆
huangrunheng vor 2 Wochen
Ursprung
Commit
d345e96b6a
1 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen
  1. 2 3
      tasks/Dokan/script_task.py

+ 2 - 3
tasks/Dokan/script_task.py

@@ -140,9 +140,8 @@ class ScriptTask(ExtendGreenMark, GameUi, SwitchSoul, DokanSceneDetector):
                 if not try_start_dokan:
                     is_dokan_activated = False
                     break
-                # NOTE 只在周一尝试建立道馆
-                if datetime.now().weekday() == 0:
-                    self.creat_dokan()
+                # 尝试建立道馆
+                self.creat_dokan()
 
                 # 寻找合适道馆,找不到直接退出
                 if not self.find_dokan(self.config.dokan.dokan_config.find_dokan_score):