mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-26 02:11:06 +00:00
Fix: [ALAS] Game restarted twice if close game during wait
This commit is contained in:
parent
456fed4b29
commit
0dd8c6b921
@ -204,7 +204,8 @@ class AzurLaneAutoScript:
|
|||||||
if not self.wait_until(task.next_run):
|
if not self.wait_until(task.next_run):
|
||||||
del_cached_property(self, 'config')
|
del_cached_property(self, 'config')
|
||||||
continue
|
continue
|
||||||
self.run('start')
|
if task.command != 'Restart':
|
||||||
|
self.run('start')
|
||||||
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')
|
||||||
|
Loading…
Reference in New Issue
Block a user