From f420d729064f003196fde3dcded7e95c022abd90 Mon Sep 17 00:00:00 2001 From: YoursFunny Date: Mon, 6 Jul 2026 16:15:15 +0800 Subject: [PATCH] fix: update task handling to properly restart and clear cached properties --- module/alas.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/alas.py b/module/alas.py index 2646c5b..69864cf 100644 --- a/module/alas.py +++ b/module/alas.py @@ -219,7 +219,9 @@ class AzurLaneAutoScript: del_cached_property(self, 'config') continue if task.command != 'Restart': - self.run('start') + self.config.task_call('Restart') + del_cached_property(self, 'config') + continue elif method == 'goto_main': logger.info('Goto main page during wait') self.run('goto_main')