diff --git a/arknights_mower/utils/recognize.py b/arknights_mower/utils/recognize.py index 0302f36a8..809dad5c9 100644 --- a/arknights_mower/utils/recognize.py +++ b/arknights_mower/utils/recognize.py @@ -62,7 +62,7 @@ def get_scene(self) -> int: """ get the current scene in the game """ if self.scene != Scene.UNDEFINED: return self.scene - if self.find('connecting', scope=((self.w//2, self.h//10*8), (self.w//4*3, self.h)), score=0.2) is not None: + if self.find('connecting', scope=((self.w//2, self.h//10*8), (self.w//4*3, self.h)), score=0.1) is not None: self.scene = Scene.CONNECTING elif self.find('index_nav', thres=250, scope=((0, 0), (100+self.w//4, self.h//10))) is not None: self.scene = Scene.INDEX @@ -225,7 +225,7 @@ def get_scene(self) -> int: def get_infra_scene(self)-> int: if self.scene != Scene.UNDEFINED: return self.scene - if self.find('connecting', scope=((self.w//2, self.h//10*8), (self.w//4*3, self.h)), score=0.2) is not None: + if self.find('connecting', scope=((self.w//2, self.h//10*8), (self.w//4*3, self.h)), score=0.1) is not None: self.scene = Scene.CONNECTING elif self.find('double_confirm') is not None: if self.find('network_check') is not None: