修复装备升级异常bug
This commit is contained in:
parent
3fa1d9a74d
commit
3e411d20ff
@ -116,7 +116,7 @@ func (this *apiComp) Upgrade(session comm.IUserSession, req *pb.EquipmentUpgrade
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
equipments = make([]*pb.DB_Equipment, 6)
|
||||||
//已装备 重新计算属性
|
//已装备 重新计算属性
|
||||||
if equipment.HeroId != "" {
|
if equipment.HeroId != "" {
|
||||||
if hero, code = this.module.ModuleHero.GetHeroByObjID(session.GetUserId(), equipment.HeroId); code != pb.ErrorCode_Success {
|
if hero, code = this.module.ModuleHero.GetHeroByObjID(session.GetUserId(), equipment.HeroId); code != pb.ErrorCode_Success {
|
||||||
|
Loading…
Reference in New Issue
Block a user