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

Fix: Handle stop_event in Maa

This commit is contained in:
SarContDeli
2022-10-22 11:26:41 +08:00
parent f13bd1e42a
commit b5c09e9df9
2 changed files with 7 additions and 0 deletions

View File

@@ -156,6 +156,9 @@ class ProcessManager:
GameManager(config=config_name, task="GameManager").run()
elif func == 'maa':
mod = load_mod('maa')
if e is not None:
mod.set_stop_event(e)
mod.loop(config_name)
elif func == "MaaCopilot":
mod = load_mod('maa')