mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-26 10:35:03 +08:00
Fix: Enemy detection
- Log shows 'E' and wrong prediction is_siren, because attributes are kept to the next detection - Fix missing predict also - Fix log show DEFAULT_BUTTON for the entrance of campaign
This commit is contained in:
@@ -66,7 +66,10 @@ class CampaignUI(UI, CampaignOcr):
|
||||
if name not in self.stage_entrance:
|
||||
logger.warning(f'Stage not found: {name}')
|
||||
raise CampaignNameError
|
||||
return self.stage_entrance[name]
|
||||
|
||||
entrance = self.stage_entrance[name]
|
||||
entrance.name = name
|
||||
return entrance
|
||||
|
||||
def ensure_campaign_ui(self, name, mode='normal'):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user