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

View File

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