diff options
author | Pierre-Yves Rollo <dev@pyrollo.com> | 2019-03-11 10:16:18 +0100 |
---|---|---|
committer | Pierre-Yves Rollo <dev@pyrollo.com> | 2019-03-11 10:16:18 +0100 |
commit | 767c2653c29990a85dfdfa80afed42e81c9582ea (patch) | |
tree | e84bca69ac1a3dfdd2b8655a7a3bfcc86f89a974 /display.lua | |
parent | 010b7cc89f4157cdff36cda23a5daf55de2bf920 (diff) | |
download | display_modpack_no_craft-767c2653c29990a85dfdfa80afed42e81c9582ea.tar.gz display_modpack_no_craft-767c2653c29990a85dfdfa80afed42e81c9582ea.zip |
Fixed crash on MT0.4
Diffstat (limited to 'display.lua')
-rw-r--r-- | display.lua | 2 |
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 |