From 7f5b39c673ee56ad646c26b9b8b85e2538f21141 Mon Sep 17 00:00:00 2001 From: sys4-fr Date: Sun, 3 Feb 2019 15:07:22 +0100 Subject: [PATCH] Corrige assignation de variable globale vers locale --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 032198e..bbd718d 100644 --- a/init.lua +++ b/init.lua @@ -499,7 +499,7 @@ connected_chests.register_chest("default:chest", { -- TODO: test for invalid param2 values local x, z = unpack(param_tab2[left_param2]) local pos_right = {x=pos.x-x, y=pos.y, z=pos.z-z} - node = minetest.get_node(pos_right) + local node = minetest.get_node(pos_right) if node.name == "default:chest_connected_right" and not chest_lid_obstructed(pos_right) then minetest.swap_node(pos, {