This commit is contained in:
parent
e5ff27e8e3
commit
7c284cc063
2 changed files with 3 additions and 1 deletions
|
@ -161,6 +161,7 @@ class BaseSolver:
|
|||
self.game_stuck_begin = datetime.now()
|
||||
elif datetime.now() - self.game_stuck_begin > timedelta(minutes=3):
|
||||
notify("游戏卡死,尝试重启游戏", level="ERROR")
|
||||
self.game_stuck_begin = None
|
||||
config.device.exit()
|
||||
csleep(3)
|
||||
self.check_current_focus()
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
from glob import glob
|
||||
|
||||
import cv2
|
||||
import numpy as np
|
||||
from glob import glob
|
||||
|
||||
|
||||
class ImageStitcher:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue