卡死重启时间重置
All checks were successful
ci/woodpecker/push/check_format Pipeline was successful

This commit is contained in:
Elaina 2025-02-01 11:47:30 +08:00
parent e5ff27e8e3
commit 7c284cc063
2 changed files with 3 additions and 1 deletions

View file

@ -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()

View file

@ -1,6 +1,7 @@
from glob import glob
import cv2
import numpy as np
from glob import glob
class ImageStitcher: