Skip to content

Commit

Permalink
re-added red button
Browse files Browse the repository at this point in the history
  • Loading branch information
E1Bos committed Sep 28, 2023
1 parent 6e9c82a commit c6f230c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions data/instalocker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2945,11 +2945,11 @@ def find_game_end(self):
self.pixel_patterns["main_menu"],
)

# red_button = self.compare_screenshot_to_pattern(
# self.locking_screenshotter,
# self.coords["play_button"],
# self.pixel_patterns["red_button"],
# )
red_button = self.compare_screenshot_to_pattern(
self.locking_screenshotter,
self.coords["play_button"],
self.pixel_patterns["red_button"],
)

progress_text = self.compare_screenshot_to_pattern(
self.locking_screenshotter,
Expand All @@ -2963,7 +2963,7 @@ def find_game_end(self):
self.pixel_patterns["pure_white"],
)

if player_banner or progress_text or progress_text_ranked: # or red_button:
if player_banner or red_button or progress_text or progress_text_ranked:
confirmations += 1

if confirmations >= self.menu_screen_confirmaions_required:
Expand Down

0 comments on commit c6f230c

Please sign in to comment.