mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-21 03:15:35 +08:00
Fix: [ALAS] Starting game after task wait has no retry
If it "start" fails next task would start
This commit is contained in:
4
alas.py
4
alas.py
@@ -476,7 +476,9 @@ class AzurLaneAutoScript:
|
|||||||
del_cached_property(self, 'config')
|
del_cached_property(self, 'config')
|
||||||
continue
|
continue
|
||||||
if task.command != 'Restart':
|
if task.command != 'Restart':
|
||||||
self.run('start')
|
self.config.task_call('Restart')
|
||||||
|
del_cached_property(self, 'config')
|
||||||
|
continue
|
||||||
elif method == 'goto_main':
|
elif method == 'goto_main':
|
||||||
logger.info('Goto main page during wait')
|
logger.info('Goto main page during wait')
|
||||||
self.run('goto_main')
|
self.run('goto_main')
|
||||||
|
|||||||
Reference in New Issue
Block a user