mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 14:29:26 +08:00
Fix: Call GG first instead of restarting game when exiting game while waiting.
This commit is contained in:
5
alas.py
5
alas.py
@@ -652,6 +652,11 @@ class AzurLaneAutoScript:
|
||||
del_cached_property(self, 'config')
|
||||
continue
|
||||
|
||||
if not self.device.app_is_running():
|
||||
self.config.task_call('Restart')
|
||||
self.is_first_task = False
|
||||
continue
|
||||
|
||||
# Check GG config before a task begins (to reset temporary config), and decide to enable it.
|
||||
if self.__class__.__name__ == "AzurLaneAutoScript":
|
||||
GGH.check_config()
|
||||
|
||||
Reference in New Issue
Block a user