From 3448e78a0d14e1603d6aa2b9e8284cc80b2932a6 Mon Sep 17 00:00:00 2001 From: Zuosizhu <2839299264@qq.com> Date: Sat, 24 Aug 2024 08:28:41 +0800 Subject: [PATCH] Fix: Call GG first instead of restarting game when exiting game while waiting. --- alas.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/alas.py b/alas.py index 4429055fb..bd793b648 100644 --- a/alas.py +++ b/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()