1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 23:18:22 +08:00

Fix: Handle popup confirm in opsi shop buy

This commit is contained in:
LmeSzinc
2024-07-03 22:17:54 +08:00
parent 4333b97d36
commit 1bda94335a

View File

@@ -50,6 +50,9 @@ class OSShop(PortShop, AkashiShop):
self.interval_reset(SHOP_BUY_CONFIRM_AMOUNT)
continue
if self.handle_popup_confirm('SHOP_BUY'):
continue
if not success and self.appear(PORT_SUPPLY_CHECK, offset=(20, 20), interval=5):
self.device.click(button)
continue