1
0
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:
Zuosizhu
2024-08-24 08:28:41 +08:00
parent 396e567b57
commit 3448e78a0d

View File

@@ -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()