From 166a0c4ddcd3d956a426687b5f995b493b224682 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Mon, 29 May 2023 22:03:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BA=8B=E4=BB=B6=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/worldtask/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/worldtask/module.go b/modules/worldtask/module.go index 9fd757006..43aeda3e7 100644 --- a/modules/worldtask/module.go +++ b/modules/worldtask/module.go @@ -35,7 +35,7 @@ func (this *Worldtask) Init(service core.IService, module core.IModule, options func (this *Worldtask) OnInstallComp() { this.ModuleBase.OnInstallComp() - event.RegisterGO(comm.EventBuriedComplete, this.TCondFinishNotify) + event.Register(comm.EventBuriedComplete, this.TCondFinishNotify) this.api = this.RegisterComp(new(apiComp)).(*apiComp) this.modelWorldtask = this.RegisterComp(new(ModelWorldtask)).(*ModelWorldtask) this.configure = this.RegisterComp(new(configureComp)).(*configureComp)