diff --git a/modules/chat/module.go b/modules/chat/module.go index c90656f72..5f66ac326 100644 --- a/modules/chat/module.go +++ b/modules/chat/module.go @@ -130,7 +130,7 @@ func (this *Chat) SendSysChatToWorld(ctype comm.ChatSystemType, appenddata inter "0": map[string]interface{}{ "key": "0", "appendStr": jsonStr, - "itemType": 1, + "itemType": pb.ChatType_EquipmentShare, }, } jsonStr, _ = json.Marshal(data) diff --git a/modules/comp_configure.go b/modules/comp_configure.go index 241077592..3093ca036 100644 --- a/modules/comp_configure.go +++ b/modules/comp_configure.go @@ -34,6 +34,7 @@ func (this *MCompConfigure) Init(service core.IService, module core.IModule, com err = this.ModuleCompBase.Init(service, module, comp, options) err = this.LoadConfigure(game_global, cfg.NewGameGlobal) err = this.LoadConfigure(game_initial, cfg.NewGameInitial) + err = this.LoadConfigure(game_gamecolor, cfg.NewGameGameColor) err = this.LoadConfigure(game_playerlv, cfg.NewGamePlayerlv) err = this.LoadConfigure(game_facemod, cfg.NewGameFacemod) err = this.LoadConfigure(game_comatn, cfg.NewGameComAtn)