This commit is contained in:
shoopea 2019-06-25 19:12:53 +08:00
parent 2b82ed03f0
commit cec19fdfbe

View File

@ -8,7 +8,7 @@ func reloadObjItem(code string, name string, itemTypeID64 int64, weight int) {
var objID64 int64
objID64 = silentGetObjItemID(code, ``)
if objID64 == 0 {
objID64, err := addObjItem(code, name, itemTypeID64, weight)
objID64, err = addObjItem(code, name, itemTypeID64, weight)
logOnError(err, "reloadObjItem : addObjItem")
}
if silentGetObjItemID(``, name) == 0 {