上传装备添加的bug
This commit is contained in:
parent
c03ba65bf6
commit
676770156e
@ -84,7 +84,7 @@ func (this *modelEquipmentComp) AddEquipments(uId string, cIds map[string]uint32
|
|||||||
}
|
}
|
||||||
add = make(map[string]*pb.DB_Equipment)
|
add = make(map[string]*pb.DB_Equipment)
|
||||||
update = make(map[string]*pb.DB_Equipment)
|
update = make(map[string]*pb.DB_Equipment)
|
||||||
change = make([]*pb.DB_Equipment, len(equipments))
|
change = make([]*pb.DB_Equipment, 0, len(equipments))
|
||||||
for k, v := range cIds {
|
for k, v := range cIds {
|
||||||
iskeep = false
|
iskeep = false
|
||||||
for _, equipment := range equipments {
|
for _, equipment := range equipments {
|
||||||
|
Loading…
Reference in New Issue
Block a user