test
This commit is contained in:
parent
60bf352d49
commit
289fbd280e
7
obj.go
7
obj.go
@ -736,7 +736,12 @@ func loadObjItem() error {
|
||||
}
|
||||
|
||||
if v, ok := cacheObjItem.Load(intl_id); ok {
|
||||
cacheObjItem.Store(name, v)
|
||||
c := new(ChatWarsItem)
|
||||
c.ObjID64 = id
|
||||
c.Code = intl_id
|
||||
c.Name = name
|
||||
c.Weight = weight
|
||||
cacheObjItem.Store(name, *c)
|
||||
} else {
|
||||
log.Printf("loadObjItem : orphaned obj_name for `%s` : %s.\n", intl_id, name)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user