From d073c9edb853ed81049cd392f9573d0d124376e6 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Rollo Date: Tue, 11 Dec 2018 14:57:42 +0100 Subject: [PATCH] Added display entity yaw attribute --- display.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/display.lua b/display.lua index a8cee66..3cc52b7 100644 --- a/display.lua +++ b/display.lua @@ -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