Added display entity yaw attribute

This commit is contained in:
Pierre-Yves Rollo 2018-12-11 14:57:42 +01:00
parent e75d6bc575
commit c9329d3789
1 changed files with 1 additions and 2 deletions

View File

@ -106,13 +106,12 @@ local function place_entities(pos)
y = pos.y - top,
z = pos.z - values.dz * depth + values.rz * right})
objrefs[entity_name]:setyaw(values.yaw)
objrefs[entity_name]:setyaw(values.yaw + (props.yaw or 0))
end
end
return objrefs
end
--- Entity update
function update_entity(entity)
if not entity then