mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-22 23:23:44 +08:00
Opt: Remove ensure main after task finishes
- Clear offset of GOTO_MAIN to avoid clicking outside of screen
This commit is contained in:
2
alas.py
2
alas.py
@@ -18,7 +18,6 @@ from module.handler.sensitive_info import handle_sensitive_image, handle_sensiti
|
||||
from module.logger import logger, log_file
|
||||
from module.research.research import RewardResearch
|
||||
from module.tactical.tactical_class import RewardTacticalClass
|
||||
from module.ui.ui import UI, page_main
|
||||
|
||||
|
||||
class AzurLaneAutoScript:
|
||||
@@ -39,7 +38,6 @@ class AzurLaneAutoScript:
|
||||
def run(self, command):
|
||||
try:
|
||||
self.__getattribute__(command)()
|
||||
UI(config=self.config, device=self.device).ui_ensure(page_main)
|
||||
return True
|
||||
except TaskEnd:
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user