解析错误

This commit is contained in:
meixiongfeng 2023-12-05 18:31:18 +08:00
parent 7883892d60
commit 4a1c96d49f

View File

@ -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.MCompConfigure.Init(service, module, comp, options)
err = this.LoadConfigure(monkey_main, cfg.NewGameMonkeyMain) 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 { if v, err := this.GetConfigure(monkey_reward); err == nil {
this.hlock.Lock() this.hlock.Lock()
defer this.hlock.Unlock() 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) err = fmt.Errorf("%T no is *cfg.GameMonkeyReward", v)
} }
}) })
return return
} }