From c9329d378976ee0fea0bd3486befcd3a1af551c1 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_api/display.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/display_api/display.lua b/display_api/display.lua index a8cee66..3cc52b7 100644 --- a/display_api/display.lua +++ b/display_api/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