test
This commit is contained in:
parent
266aebd401
commit
81d24694a8
6
obj.go
6
obj.go
@ -928,7 +928,7 @@ func loadObjItem2() error {
|
||||
log.Printf("loadObjItems2 : %s : name missing.\n", i.Code)
|
||||
} else {
|
||||
if obj, ok := cacheObjItem[i.Code]; ok {
|
||||
log.Printf("loadObjItem2 : %s : duplicate code found. Belong to %s\n", i2.Code, n, obj.Code)
|
||||
log.Printf("loadObjItem2 : %s : duplicate code found. Belong to %s\n", i.Code, n, obj.Code)
|
||||
} else {
|
||||
i2 := ChatWarsItem{
|
||||
Auction: i.Auction,
|
||||
@ -948,9 +948,9 @@ func loadObjItem2() error {
|
||||
}
|
||||
}
|
||||
|
||||
cacheObjItem[i.Code] = *i2
|
||||
cacheObjItem[i.Code] = i2
|
||||
for _, n := range i.Names {
|
||||
cacheObjItem[n] = *i2
|
||||
cacheObjItem[n] = i2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user