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, "没有可用机器人") } // 获取签到信息