From 45aa790e69db8ec8781b866377bebc777ce55591 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Thu, 22 Sep 2022 22:02:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E8=A3=85=E5=A4=87=E5=88=86?= =?UTF-8?q?=E4=BA=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/chat/module.go | 2 +- modules/comp_configure.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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)