From 9c2eb0b4e6c6ff15f0d53233dbb6f2385d0685eb Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Tue, 21 Feb 2023 18:48:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/smithy/comp_configure.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/smithy/comp_configure.go b/modules/smithy/comp_configure.go index 21716c1c5..8c3661a5c 100644 --- a/modules/smithy/comp_configure.go +++ b/modules/smithy/comp_configure.go @@ -71,8 +71,6 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp err = this.LoadConfigure(game_smithyatlaslv, cfg.NewGameSmithyAtlasLv) err = this.LoadConfigure(game_smithyatlasscore, cfg.NewGameSmithyAtlasScore) - _d := this.GetSmithProficiencyConf(1) - this.module.Errorf("%v", _d) return } @@ -252,7 +250,7 @@ func (this *configureComp) GetSmithyStoveConf(level int32) (data *cfg.GameSmithy // 获取图鉴信息 func (this *configureComp) GetSmithyAtlasConf(id string) (data *cfg.GameSmithyAtlasData) { - if v, err := this.GetConfigure(game_smithystove); err == nil { + if v, err := this.GetConfigure(game_smithyatlas); err == nil { if configure, ok := v.(*cfg.GameSmithyAtlas); ok { data = configure.Get(id) return @@ -263,7 +261,7 @@ func (this *configureComp) GetSmithyAtlasConf(id string) (data *cfg.GameSmithyAt } func (this *configureComp) GetSmithyAtlasLvConf(lv int32) (data *cfg.GameSmithyAtlasLvData) { - if v, err := this.GetConfigure(game_smithystove); err == nil { + if v, err := this.GetConfigure(game_smithyatlaslv); err == nil { if configure, ok := v.(*cfg.GameSmithyAtlasLv); ok { data = configure.Get(lv) return @@ -279,7 +277,7 @@ func (this *configureComp) GetSmithyAtlasScoreConf(quality int32, lv int32) (dat // 获取图鉴分数 func (this *configureComp) LoadSmithyAtlasScoreConf() { - if v, err := this.GetConfigure(game_smithystove); err == nil { + if v, err := this.GetConfigure(game_smithyatlasscore); err == nil { if configure, ok := v.(*cfg.GameSmithyAtlasScore); ok { this.hlock.Lock() defer this.hlock.Unlock()