1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-01 08:06:21 +08:00

Fix: [EN] Use asset button gif support for POPUP_CONFIRM and POPUP_CANCEL

TODO: [JP] can make gif equivalents for same assets and adjust retirement to use handle_popup_confirm
This commit is contained in:
nEEtdo0d
2021-11-10 19:42:56 -05:00
parent ef7e4b904a
commit c902549ad0
15 changed files with 6 additions and 24 deletions

View File

@@ -143,8 +143,8 @@ class Retirement(Enhancement):
or self.config.Retirement_RetireMode == 'one_click_retire':
if self.handle_popup_confirm('RETIRE_SR_SSR'):
continue
if (self.config.SERVER == 'en' or self.config.SERVER == 'jp') and \
self.appear_then_click(SR_SSR_CONFIRM, offset=self._popup_offset, interval=2):
if self.config.SERVER == 'jp' and \
self.appear_then_click(SR_SSR_CONFIRM, offset=self._popup_offset, interval=2):
continue
# End