From 4a1c96d49f4711391870a4b11ac2871c17191dd7 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Tue, 5 Dec 2023 18:31:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E6=9E=90=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/monkey/configure.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/monkey/configure.go b/modules/monkey/configure.go index a7095b259..3533dda2d 100644 --- a/modules/monkey/configure.go +++ b/modules/monkey/configure.go @@ -26,7 +26,7 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp err = this.MCompConfigure.Init(service, module, comp, options) err = this.LoadConfigure(monkey_main, cfg.NewGameMonkeyMain) - configure.RegisterConfigure(monkey_reward, cfg.NewGameGameFast, func() { + configure.RegisterConfigure(monkey_reward, cfg.NewGameMonkeyReward, func() { if v, err := this.GetConfigure(monkey_reward); err == nil { this.hlock.Lock() defer this.hlock.Unlock() @@ -41,6 +41,7 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp err = fmt.Errorf("%T no is *cfg.GameMonkeyReward", v) } }) + return }