This commit is contained in:
shoopea 2019-06-25 19:14:04 +08:00
parent d01ebb2393
commit 2189d6ba82

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 {
id, err = addObjItem(code, name, itemTypeID64, weight)
id, err := addObjItem(code, name, itemTypeID64, weight)
objID64 = id
logOnError(err, "reloadObjItem : addObjItem")
}