From 819d417e9862eb8822e18d8a4d483d33b46db02d Mon Sep 17 00:00:00 2001 From: positnuec <93694981+positnuec@users.noreply.github.com> Date: Tue, 11 Aug 2026 13:48:51 +0800 Subject: [PATCH] Fix: read OpsiAshBeacon_EnsureFullyCollected via cross_get --- module/os/tasks/hazard_leveling.py | 2 +- module/os/tasks/meowfficer_farming.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/os/tasks/hazard_leveling.py b/module/os/tasks/hazard_leveling.py index 90a11302f..257c2bb68 100644 --- a/module/os/tasks/hazard_leveling.py +++ b/module/os/tasks/hazard_leveling.py @@ -17,7 +17,7 @@ class OpsiHazard1Leveling(OSMap): self.config.OS_ACTION_POINT_PRESERVE = 200 if self.config.is_task_enabled('OpsiAshBeacon') \ and not self._ash_fully_collected \ - and self.config.OpsiAshBeacon_EnsureFullyCollected: + and self.config.cross_get(keys='OpsiAshBeacon.OpsiAshBeacon.EnsureFullyCollected', default=True): logger.info('Ash beacon not fully collected, ignore action point limit temporarily') self.config.OS_ACTION_POINT_PRESERVE = 0 logger.attr('OS_ACTION_POINT_PRESERVE', self.config.OS_ACTION_POINT_PRESERVE) diff --git a/module/os/tasks/meowfficer_farming.py b/module/os/tasks/meowfficer_farming.py index df971b9ff..332daea8b 100644 --- a/module/os/tasks/meowfficer_farming.py +++ b/module/os/tasks/meowfficer_farming.py @@ -44,7 +44,7 @@ class OpsiMeowfficerFarming(OSMap): self.config.OS_ACTION_POINT_PRESERVE = preserve if self.config.is_task_enabled('OpsiAshBeacon') \ and not self._ash_fully_collected \ - and self.config.OpsiAshBeacon_EnsureFullyCollected: + and self.config.cross_get(keys='OpsiAshBeacon.OpsiAshBeacon.EnsureFullyCollected', default=True): logger.info('Ash beacon not fully collected, ignore action point limit temporarily') self.config.OS_ACTION_POINT_PRESERVE = 0 logger.attr('OS_ACTION_POINT_PRESERVE', self.config.OS_ACTION_POINT_PRESERVE)