1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-26 02:30:38 +01:00

[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."
This commit is contained in:
LeMagnesium 2016-09-01 12:18:24 +02:00
parent 83944bf662
commit d31e5446bf
No known key found for this signature in database
GPG Key ID: A54DDB5272C51E8B

View File

@ -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