diff --git a/src/task/BaseWWTask.py b/src/task/BaseWWTask.py index e52f71a..bbb94eb 100644 --- a/src/task/BaseWWTask.py +++ b/src/task/BaseWWTask.py @@ -192,8 +192,8 @@ class BaseWWTask(BaseTask, FindFeature, OCR): box = self.box_of_screen(0.25, 0.20, 0.75, 0.53, hcenter=True) highest_percent = 0 highest_index = 0 - threshold = 0.02 - for i in range(4): + threshold = 0.02 + for i in range(4): self.middle_click_relative(0.5, 0.5, down_time=0.2) self.sleep(1) color_percent = self.calculate_color_percentage(echo_color, box)