This commit is contained in:
shoopea 2020-01-26 14:52:31 +08:00
parent 55339293b3
commit 600890e034

View File

@ -252,7 +252,7 @@ func loadObjItem() error {
} else {
objItems[id].ObjID64 = obj_id
if weight != obj.Weight {
if weight != objItems[id].Weight {
log.Printf("loadObjItem : %s - %s : weight changed : %d => %d\n", objItems[id].Code, objItems[id].Names[0], weight, objItems[id].Weight)
setObjItemWeight(obj_id, objItems[id].Weight)
}