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

Fix: use ui_ensure to handle FATE(Unknown ui page) (#3885)

This commit is contained in:
Air111
2024-06-13 22:32:51 +08:00
committed by GitHub
parent f70bb61ee6
commit f3c48d1263

View File

@@ -188,7 +188,7 @@ class RewardShipyard(ShipyardUI, GeneralShop):
# due to both text and number being
# right-aligned together
# Retrieve information from page_reshmenu instead
self.ui_goto(page_reshmenu)
self.ui_ensure(page_reshmenu)
# OCR_SHOP_GOLD_COINS is slower than RESHMENU_CHECK
timeout = Timer(1, count=1).start()
skip_first_screenshot = True