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

Fix: [CN] Correct asset name, adjust code

This commit is contained in:
nEEtdo0d
2021-01-16 09:08:33 -05:00
parent 8dca110761
commit 5c51818c6b
3 changed files with 4 additions and 4 deletions

View File

@@ -124,7 +124,7 @@ class InfoHandler(ModuleBase):
"""
def handle_guild_popup_confirm(self):
if self.appear(GUILD_POPUP_CONFIRM, offset=self._popup_offset) \
and self.appear(GUILD_POPUP_CANCAL, offset=self._popup_offset, interval=2):
and self.appear(GUILD_POPUP_CANCEL, offset=self._popup_offset, interval=2):
self.device.click(GUILD_POPUP_CONFIRM)
return True
@@ -132,8 +132,8 @@ class InfoHandler(ModuleBase):
def handle_guild_popup_cancel(self):
if self.appear(GUILD_POPUP_CONFIRM, offset=self._popup_offset) \
and self.appear(GUILD_POPUP_CANCAL, offset=self._popup_offset, interval=2):
self.device.click(GUILD_POPUP_CANCAL)
and self.appear(GUILD_POPUP_CANCEL, offset=self._popup_offset, interval=2):
self.device.click(GUILD_POPUP_CANCEL)
return True
return False