1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 08:38:20 +08:00

Opt: Check update event when switching task

This commit is contained in:
18870
2022-01-11 14:26:56 +08:00
parent d74e4b5c8c
commit 0014c18920
3 changed files with 7 additions and 1 deletions

View File

@@ -88,6 +88,7 @@ class AlasManager:
# Set server before loading any buttons.
import module.config.server as server
from module.config.config import AzurLaneConfig
AzurLaneConfig.stop_event = e
config = AzurLaneConfig(config_name=config_name)
server.server = deep_get(
config.data, keys='Alas.Emulator.Server', default='cn')