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

Merge pull request #1762 from SaiCateDoan/maa

Fix: Handle stop_event in Maa
This commit is contained in:
LmeSzinc
2022-10-22 23:22:32 +08:00
committed by GitHub
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')