diff --git a/module/alas.py b/module/alas.py index f767ea3..d3b85d3 100644 --- a/module/alas.py +++ b/module/alas.py @@ -252,6 +252,10 @@ class AzurLaneAutoScript: del_cached_property(self, 'config') del_cached_property(self, 'device') continue + if task.command == 'Restart': + del_cached_property(self, 'config') + del_cached_property(self, 'device') + continue # 重新启动模拟器 if task.command != 'Restart': self.config.task_call('Restart')