1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 03:58:22 +08:00

Fix: Loop in reward if ENABLE_REWARD disabled and commission notice found (#260)

This commit is contained in:
LmeSzinc
2020-12-15 16:22:28 +08:00
parent 2e05de02f1
commit 5db3b5d57c

View File

@@ -198,7 +198,8 @@ class CampaignRun(Reward):
name=self.stage,
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():
self.campaign.fleet_checked_reset()
continue