mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-27 23:39:41 +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
|
in: is_in_map
|
||||||
out: 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():
|
and self._support_call_ash_beacon_task():
|
||||||
self.config.task_call(task='OpsiAshBeacon')
|
self.config.task_call(task='OpsiAshBeacon')
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user