1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

Opt: Match guild pop up handling to predecessor handle_popup_* calls

This commit is contained in:
nEEtdo0d 2021-01-26 13:55:21 -05:00
parent e6549510f5
commit bb9ebc524e

View File

@ -123,8 +123,8 @@ class InfoHandler(ModuleBase):
Guild popup info
"""
def handle_guild_popup_confirm(self):
if self.appear(GUILD_POPUP_CONFIRM, offset=self._popup_offset) \
and self.appear(GUILD_POPUP_CANCEL, offset=self._popup_offset, interval=2):
if self.appear(GUILD_POPUP_CANCEL, offset=self._popup_offset) \
and self.appear(GUILD_POPUP_CONFIRM, offset=self._popup_offset, interval=2):
self.device.click(GUILD_POPUP_CONFIRM)
return True