1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-19 21:39:28 +08:00

Add: timeout setting of changing ship's type and attribute

This commit is contained in:
LA-DI-DA
2023-10-19 16:20:04 +08:00
parent fdf049a179
commit 0f600f7b52
11 changed files with 59 additions and 7 deletions

View File

@@ -59,7 +59,7 @@ class ChangeAttribute(ModuleBase):
logger.info("Click confirm")
self.device.sleep(0.5)
_confirmed = True
self.d.wait_timeout = 90.0
self.d.wait_timeout = deep_get(self.config.data, "GameManager.ChangeAttribute.Timeout")
if _set and _confirmed:
try: