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

Fix: GUILD_POPUP_TRIGGERED syncing in config

- Opt: skip interval check if GUILD_POPUP_TRIGGERED
This commit is contained in:
LmeSzinc
2021-01-19 15:44:12 +08:00
parent 9c58a58ffa
commit b96f68289e
2 changed files with 16 additions and 12 deletions

View File

@@ -222,6 +222,7 @@ class CampaignRun(Reward):
# After run
self.run_count += 1
self.config.GUILD_POPUP_TRIGGERED = self.campaign.config.GUILD_POPUP_TRIGGERED
if self.config.STOP_IF_COUNT_GREATER_THAN > 0:
count = self.config.STOP_IF_COUNT_GREATER_THAN - self.run_count
count = 0 if count < 0 else count