mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-14 07:08:04 +08:00
Fix: [ALAS] Game restarted twice if close game during wait
This commit is contained in:
parent
f16d648d84
commit
6365693cef
3
alas.py
3
alas.py
@ -446,7 +446,8 @@ class AzurLaneAutoScript:
|
||||
if not self.wait_until(task.next_run):
|
||||
del_cached_property(self, 'config')
|
||||
continue
|
||||
self.run('start')
|
||||
if task.command != 'Restart':
|
||||
self.run('start')
|
||||
elif method == 'goto_main':
|
||||
logger.info('Goto main page during wait')
|
||||
self.run('goto_main')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user