mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-28 14:58:10 +08:00
Fix: Loop in reward if ENABLE_REWARD disabled and commission notice found (#260)
This commit is contained in:
@@ -198,7 +198,8 @@ class CampaignRun(Reward):
|
|||||||
name=self.stage,
|
name=self.stage,
|
||||||
mode=self.config.CAMPAIGN_MODE if self.config.COMMAND.lower() == 'main' else 'normal'
|
mode=self.config.CAMPAIGN_MODE if self.config.COMMAND.lower() == 'main' else 'normal'
|
||||||
)
|
)
|
||||||
if self.commission_notice_show_at_campaign():
|
if self.config.ENABLE_REWARD and self.commission_notice_show_at_campaign():
|
||||||
|
logger.info('Commission notice found')
|
||||||
if self.reward():
|
if self.reward():
|
||||||
self.campaign.fleet_checked_reset()
|
self.campaign.fleet_checked_reset()
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user