From 3e411d20ff6a2a77f784dc1d62496325577ada26 Mon Sep 17 00:00:00 2001 From: liwei Date: Mon, 1 Aug 2022 12:02:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A3=85=E5=A4=87=E5=8D=87?= =?UTF-8?q?=E7=BA=A7=E5=BC=82=E5=B8=B8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/equipment/api_upgrade.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/equipment/api_upgrade.go b/modules/equipment/api_upgrade.go index 62c0a0548..7d7a1cbe7 100644 --- a/modules/equipment/api_upgrade.go +++ b/modules/equipment/api_upgrade.go @@ -116,7 +116,7 @@ func (this *apiComp) Upgrade(session comm.IUserSession, req *pb.EquipmentUpgrade return } } - + equipments = make([]*pb.DB_Equipment, 6) //已装备 重新计算属性 if equipment.HeroId != "" { if hero, code = this.module.ModuleHero.GetHeroByObjID(session.GetUserId(), equipment.HeroId); code != pb.ErrorCode_Success {