summaryrefslogtreecommitdiff
path: root/lrfurn/coffeetable.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lrfurn/coffeetable.lua')
-rw-r--r--lrfurn/coffeetable.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lrfurn/coffeetable.lua b/lrfurn/coffeetable.lua
index afce15e..7f7afaa 100644
--- a/lrfurn/coffeetable.lua
+++ b/lrfurn/coffeetable.lua
@@ -29,6 +29,8 @@ minetest.register_node("lrfurn:coffeetable_back", {
local node = minetest.get_node(pos)
local param2 = node.param2
+ local fdir = minetest.dir_to_facedir(placer:get_look_dir(), false)
+
if lrfurn.check_forward(pos, fdir, false, placer) then
node.name = "lrfurn:coffeetable_front"