This commit is contained in:
shoopea 2020-01-12 20:12:26 +08:00
parent 99d8e4d8bd
commit 13591b9eda

2
obj.go
View File

@ -963,7 +963,7 @@ func loadObjItem2() error {
err = json.Unmarshal(b, &items) err = json.Unmarshal(b, &items)
for _, i := range items { for _, i := range items {
var int64 id = 0 var id int64 = 0
for _, n := range i.Names { for _, n := range i.Names {
if id == 0 { if id == 0 {
id = getSilentObjItemID(i.Code, ``) id = getSilentObjItemID(i.Code, ``)