mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-15 14:42:26 +08:00
Fix: trigger campaign stop condition result in stuck loop check
This commit is contained in:
@@ -192,6 +192,8 @@ class CampaignSos(CampaignRun, CampaignBase):
|
|||||||
while 1:
|
while 1:
|
||||||
if self._sos_signal_select(chapter):
|
if self._sos_signal_select(chapter):
|
||||||
super().run(f'campaign_{chapter}_5', folder=folder, total=total)
|
super().run(f'campaign_{chapter}_5', folder=folder, total=total)
|
||||||
|
if self.run_count == 0:
|
||||||
|
break
|
||||||
if not self.appear(CAMPAIGN_CHECK, offset=(20, 20)):
|
if not self.appear(CAMPAIGN_CHECK, offset=(20, 20)):
|
||||||
self.ui_weigh_anchor()
|
self.ui_weigh_anchor()
|
||||||
remain = OCR_SOS_SIGNAL.ocr(self.device.image)
|
remain = OCR_SOS_SIGNAL.ocr(self.device.image)
|
||||||
|
|||||||
Reference in New Issue
Block a user