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 }