mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-18 19:35:47 +00:00
perf: shop
This commit is contained in:
parent
02e0882900
commit
dd4aa45f1c
@ -109,7 +109,7 @@ class ShopUI(UI):
|
|||||||
self.swipe_flags[8], self.swipe_flags[16] = False, False
|
self.swipe_flags[8], self.swipe_flags[16] = False, False
|
||||||
|
|
||||||
def make_purchase(self):
|
def make_purchase(self):
|
||||||
if self.select_then_check(PURCHASE, CONFIRM_PURCHASE) and self.appear_then_click(CONFIRM_PURCHASE):
|
if self.match_color(PURCHASE) and self.select_then_check(PURCHASE, CONFIRM_PURCHASE) and self.appear_then_click(CONFIRM_PURCHASE):
|
||||||
return True
|
return True
|
||||||
logger.warning("No items were selected. Unable to purchase.")
|
logger.warning("No items were selected. Unable to purchase.")
|
||||||
return False
|
return False
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user