1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-20 09:19:29 +08:00

Merge branch '0O0o0oOoO00-alas/smallkai' into dev

This commit is contained in:
LA-DI-DA
2023-10-15 22:11:11 +08:00
10 changed files with 29 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ class GGHandler:
# GGU2(config=self.config, device=self.device) \
# .set_on(factor=self.factor)
self.handle_u2_restart()
success = timeout(GGU2(config=self.config, device=self.device).set_on, timeout_sec=300, factor=self.factor)
success = timeout(GGU2(config=self.config, device=self.device).set_on, timeout_sec=deep_get(self.config.data, "GameManager.GGHandler.Timeout"), factor=self.factor)
if success:
from module.exception import GameStuckError
raise GameStuckError