diff --git a/arknights_mower/resources/mail.png b/arknights_mower/resources/mail.png deleted file mode 100644 index 6cf181f4..00000000 Binary files a/arknights_mower/resources/mail.png and /dev/null differ diff --git a/arknights_mower/utils/recognize.py b/arknights_mower/utils/recognize.py index 4e1c5f17..32dbe41b 100644 --- a/arknights_mower/utils/recognize.py +++ b/arknights_mower/utils/recognize.py @@ -154,7 +154,8 @@ def get_scene(self) -> int: self.scene = Scene.FACTORY_ROOMS elif self.find("nav_bar"): self.scene = Scene.NAVIGATION_BAR - elif self.find("mail"): + elif self.find("read_mail"): + logger.info(self.find("read_mail")) self.scene = Scene.MAIL elif self.find("navigation/record_restoration"): self.scene = Scene.OPERATOR_CHOOSE_LEVEL @@ -680,7 +681,7 @@ def find( "login_connecting": (760, 881), "login_loading": (920, 388), "login_logo": (601, 332), - "mail": (305, 33), + "read_mail": (1541, 947), "mission_trainee_on": (690, 17), "nav_bar": (655, 0), "nav_button": (26, 20),