mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-29 05:55:31 +08:00
Fix: Find TEMPLATE_SIGNAL_CONFIRM in SOS chapter list
This commit is contained in:
@@ -56,7 +56,8 @@ class CampaignSos(CampaignRun, CampaignBase):
|
|||||||
"""
|
"""
|
||||||
signal_search_buttons = TEMPLATE_SIGNAL_SEARCH.match_multi(self.device.image)
|
signal_search_buttons = TEMPLATE_SIGNAL_SEARCH.match_multi(self.device.image)
|
||||||
sos_goto_buttons = TEMPLATE_SIGNAL_GOTO.match_multi(self.device.image)
|
sos_goto_buttons = TEMPLATE_SIGNAL_GOTO.match_multi(self.device.image)
|
||||||
all_buttons = sos_goto_buttons + signal_search_buttons
|
sos_confirm_buttons = TEMPLATE_SIGNAL_CONFIRM.match_multi(self.device.image)
|
||||||
|
all_buttons = sos_goto_buttons + signal_search_buttons + sos_confirm_buttons
|
||||||
if not len(all_buttons):
|
if not len(all_buttons):
|
||||||
logger.info('No SOS chapter found')
|
logger.info('No SOS chapter found')
|
||||||
return None
|
return None
|
||||||
|
|||||||
Reference in New Issue
Block a user