Skip to content

Commit 0554f02

Browse files
authored
Fix: fix maa closedown (#4165)
1 parent e78100e commit 0554f02

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

submodule/AlasMaaBridge/module/handler/handler.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def task_end_callback(self, m, d):
106106
所有其他回调处理函数应遵循同样格式,
107107
在需要使用的时候加入callback_list,
108108
可以被随时移除,或在任务结束时自动清空。
109-
参数的详细说明见https://github.com/MaaAssistantArknights/MaaAssistantArknights/blob/master/docs/3.2-回调信息协议.md
109+
参数的详细说明见https://github.com/MaaAssistantArknights/MaaAssistantArknights/blob/master/docs/zh-cn/protocol/callback-schema.md
110110
111111
Args:
112112
m (Message): 消息类型
@@ -207,7 +207,9 @@ def connect(self):
207207
def startup(self):
208208
self.connect()
209209
if self.config.Scheduler_NextRun.strftime('%H:%M') == self.config.Scheduler_ServerUpdate:
210-
self.maa_start('CloseDown', {})
210+
self.maa_start('CloseDown', {
211+
"client_type": self.config.MaaEmulator_PackageName
212+
})
211213

212214
self.maa_start('StartUp', {
213215
"client_type": self.config.MaaEmulator_PackageName,

0 commit comments

Comments
 (0)