From 18dd3fc53e9a22391020214a35b22edb25509889 Mon Sep 17 00:00:00 2001 From: liwei <2211068034@qq.com> Date: Mon, 3 Jul 2023 17:27:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/tools/comp_configure.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/tools/comp_configure.go b/modules/tools/comp_configure.go index cb577b3e0..300fa06a2 100644 --- a/modules/tools/comp_configure.go +++ b/modules/tools/comp_configure.go @@ -65,6 +65,7 @@ func (this *MCompConfigure) Init(service core.IService, module core.IModule, com err = this.LoadConfigure(new_hero, cfg.NewGameHero) err = this.LoadConfigure(game_playerlv, cfg.NewGamePlayerlv) + err = this.LoadConfigure(new_robot, cfg.NewGameRobot) err = this.LoadConfigure(game_signreset, cfg.NewGameSignReset) err = this.LoadConfigure(game_equip, cfg.NewGameEquip) err = this.LoadConfigure(game_item, cfg.NewGameItem) @@ -464,7 +465,7 @@ func (this *MCompConfigure) RandRobotConfig(num int32) (confs []*cfg.GameRobotDa return } } - return nil, comm.NewNotFoundConfErr("工具模块", new_hero, "没有可用机器人") + return nil, comm.NewNotFoundConfErr("工具模块", new_robot, "没有可用机器人") } // 获取签到信息