From d31e5446bf1c1eecae653e41e66156ec1d1c3fde Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Thu, 1 Sep 2016 12:18:24 +0200 Subject: [PATCH] [lrfurn] Fix global variable. Fix #508 - Us: "But it's okay in Lua to use undefined variables!" - Minetest: "Yep. But we don't want that. Now cooperate." --- mods/homedecor_modpack/lrfurn/coffeetable.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/homedecor_modpack/lrfurn/coffeetable.lua b/mods/homedecor_modpack/lrfurn/coffeetable.lua index 50f5d1fc..f3451329 100755 --- a/mods/homedecor_modpack/lrfurn/coffeetable.lua +++ b/mods/homedecor_modpack/lrfurn/coffeetable.lua @@ -29,7 +29,7 @@ minetest.register_node("lrfurn:coffeetable_back", { local node = minetest.get_node(pos) local param2 = node.param2 - if lrfurn.check_forward(pos, fdir, false, placer) then + if lrfurn.check_forward(pos, nil, false, placer) then node.name = "lrfurn:coffeetable_front" if param2 == 0 then