mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Fix: check task OpsiAshBeacon enabled before task_call
This commit is contained in:
@@ -140,7 +140,8 @@ class OSAsh(UI, MapEventHandler):
|
||||
in: is_in_map
|
||||
out: is_in_map
|
||||
"""
|
||||
if self.ash_collect_status() >= 100 \
|
||||
if self.config.is_task_enabled('OpsiAshBeacon') \
|
||||
and self.ash_collect_status() >= 100 \
|
||||
and self._support_call_ash_beacon_task():
|
||||
self.config.task_call(task='OpsiAshBeacon')
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user