diff --git a/module/luahook/crack.py b/module/luahook/crack.py index 127c09b75..5713738c9 100644 --- a/module/luahook/crack.py +++ b/module/luahook/crack.py @@ -79,6 +79,9 @@ def do_crack_op_on_func( def do_crack_op(config: AzurLaneConfig, device: Device, ops: Union[Type[CrackOp.Op], List[Type[CrackOp.Op]]]): if not config.full_config.Hook_HookGeneral_Enable: return + if not device.app_is_running(): + logger.info("Game not running, do not crack") + return if isinstance(ops, list): l = ops else: