fix
This commit is contained in:
parent
55339293b3
commit
600890e034
2
item.go
2
item.go
@ -252,7 +252,7 @@ func loadObjItem() error {
|
|||||||
} else {
|
} else {
|
||||||
objItems[id].ObjID64 = obj_id
|
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)
|
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)
|
setObjItemWeight(obj_id, objItems[id].Weight)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user