1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-15 13:27:20 +08:00

Opt: Skip logistics check if not lit up, same method used for operations

This commit is contained in:
nEEtdo0d
2021-01-01 19:12:51 -05:00
parent 9a2d697f49
commit eaf14ffcfa
2 changed files with 6 additions and 0 deletions

View File

@@ -702,6 +702,11 @@ class RewardGuild(UI):
if is_affiliation_azur is None:
return False
# Logistics checking is short but if it isn't
# lit up, we can skip it to save on time
if not self.appear(GUILD_LOGISTICS_RED_DOT, offset=(30, 30)):
logistics = False
# Operations checking is a longer process, if not
# up then don't bother with it
if not self.appear(GUILD_OPERATIONS_RED_DOT, offset=(30, 30)):