test
This commit is contained in:
parent
8d86c3eb91
commit
5c47c3631a
6
obj.go
6
obj.go
@ -1016,15 +1016,15 @@ func loadObjItem2() error {
|
||||
if i.ObjID64 == 0 {
|
||||
id, err := addObjItem(i.Code, i.Names[0], i.ItemTypeID, i.Weight, i.Exchange, i.Auction)
|
||||
i.ObjID64 = id
|
||||
cacheObjItemId[id] = obj
|
||||
cacheObjItemId[id] = i
|
||||
count := 0
|
||||
for _, n := range i.Names {
|
||||
if count == 0 {
|
||||
cacheObjItemId[n] = obj
|
||||
cacheObjItemId[n] = i
|
||||
continue
|
||||
} else {
|
||||
objAddName(id, n)
|
||||
cacheObjItem[n] = obj
|
||||
cacheObjItem[n] = i
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user