1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2025-12-16 15:35:12 +00:00

fix: shop

This commit is contained in:
RedDeadDepresso 2024-01-10 21:11:17 +00:00 committed by YoursFunny
parent a8caafb292
commit ccd9466b77
Signed by: YoursFunny
GPG Key ID: 207EDC3CD5B40F9C

View File

@ -83,7 +83,7 @@ class Shop(ShopUI):
return ShopStatus.SELECT_SHOP
return ShopStatus.END
case ShopStatus.END:
if self.appear(page_shop.check_button):
if self.appear(page_shop.check_button) and self.match_color(page_shop.check_button):
self.task.pop(0)
return ShopStatus.SELECT_SHOP
self.click_with_interval(BACK, interval=2)