From 71029218554ab42b1797a3b3ff599367cdf88a46 Mon Sep 17 00:00:00 2001 From: 0O0o0oOoO00 <11174151+0O0o0oOoO00@users.noreply.github.com> Date: Mon, 1 Sep 2025 18:18:09 +0800 Subject: [PATCH] fix: disable all crack before enable crack --- alas.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/alas.py b/alas.py index 5cab4ce9a..b975f9010 100644 --- a/alas.py +++ b/alas.py @@ -18,7 +18,7 @@ from module.logger import logger from module.luahook.op import CrackOp from module.notify import handle_notify from module.gg_handler.gg_handler import GGHandler -from module.luahook.crack import disable_all_crack, luahook_crack_all, CrackResource, crack_op +from module.luahook.crack import disable_all_crack, luahook_crack_all, CrackResource, crack_op, luahook_disable_all import gl from module.device.assets import OTHERS_LOGIN_CONFIRM @@ -872,6 +872,7 @@ class AzurLaneAutoScript: try: if self.is_azur: GGH.check_then_set_gg_status(inflection.underscore(task)) + luahook_disable_all(self.config, self.device) luahook_crack_all(self.config, self.device) check_fail = 0 except GameStuckError: