From 8447b44d65d89250bb63d0b58748ccf180dcc046 Mon Sep 17 00:00:00 2001 From: pur1fy <2274916027@qq.com> Date: Fri, 16 Feb 2024 20:28:44 +0800 Subject: [PATCH] Update cafe_reward.py --- module/cafe_reward.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/cafe_reward.py b/module/cafe_reward.py index fa1eec98e..45fda2dd1 100644 --- a/module/cafe_reward.py +++ b/module/cafe_reward.py @@ -163,7 +163,7 @@ def invite_lowest_affection(self): if not image.compare_image(self, 'cafe_invitation-ticket-order-affection', threshold=0.9): self.logger.info("Switch to affection order") self.click(704, 152, wait_over=True, duration=0.5) - self.click(relationship_order_button_location[self.server], wait_over=True, duration=0.5) + self.click(relationship_order_button_location[self.server][0], relationship_order_button_location[self.server][1], wait_over=True, duration=0.5) self.click(627, 390, wait_over=True, duration=0.5) self.latest_img_array = self.get_screenshot_array() if not image.compare_image(self, 'cafe_invitation-ticket-order-up', threshold=0.9):