Explorar o código

修复预设功能

yEs1do %!s(int64=2) %!d(string=hai) anos
pai
achega
7e67e2eed3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tasks/Component/GeneralBattle/general_battle.py

+ 1 - 0
tasks/Component/GeneralBattle/general_battle.py

@@ -334,6 +334,7 @@ class GeneralBattle(GeneralBuff, GeneralBattleAssets):
         logger.info("Select preset team")
 
         # 点击预设确认
+        time.sleep(0.5)
         while 1:
             self.screenshot()
             if self.appear_then_click(self.I_PRESET_ENSURE, threshold=0.8):