mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 23:33:33 +08:00
Merge branch 'bug_fix' into dev
# Conflicts: # module/config/config_generated.py
This commit is contained in:
3
alas.py
3
alas.py
@@ -68,7 +68,7 @@ class AzurLaneAutoScript:
|
||||
self.config.task_call('Restart')
|
||||
return True
|
||||
except (GameStuckError, GameTooManyClickError) as e:
|
||||
logger.warning(e)
|
||||
logger.error(e)
|
||||
self.save_error_log()
|
||||
logger.warning(f'Game stuck, {self.device.package} will be restarted in 10 seconds')
|
||||
logger.warning('If you are playing by hand, please stop Alas')
|
||||
@@ -445,6 +445,7 @@ class AzurLaneAutoScript:
|
||||
logger.info(f"Alas [{self.config_name}] exited.")
|
||||
break
|
||||
task = self.get_next_task()
|
||||
_ = self.device
|
||||
|
||||
# Skip first restart
|
||||
if is_first and task == 'Restart':
|
||||
|
||||
Reference in New Issue
Block a user