aboutsummaryrefslogtreecommitdiff
path: root/display.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--display.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/display.lua b/display.lua
index d241fb3..3ed1f02 100644
--- a/display.lua
+++ b/display.lua
@@ -169,7 +169,7 @@ local function place_entities(pos)
z = v.rotation.z*math.pi/2,
})
else -- For minetest < 5.0 -- TODO: To be removed in the future
- objrefs[entity_name]:set_yaw(values.rotation.y + (props.yaw or 0))
+ objrefs[entity_name]:set_yaw(v.rotation.y*math.pi/2 + (props.yaw or 0))
end
end
end