From 207d86733e823e32c654ca44f8a10ee4238ff544 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 23 Feb 2017 15:08:52 +0100 Subject: [PATCH] Fix accidental globals in mcl_walls --- mods/ITEMS/mcl_walls/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_walls/init.lua b/mods/ITEMS/mcl_walls/init.lua index 0793aa21ba..33093f8f53 100644 --- a/mods/ITEMS/mcl_walls/init.lua +++ b/mods/ITEMS/mcl_walls/init.lua @@ -98,10 +98,10 @@ function mcl_walls.register_wall(nodename, description, craft_material, tiles, i end base_groups.wall = 1 - internal_groups = table.copy(base_groups) + local internal_groups = table.copy(base_groups) internal_groups.not_in_creative_inventory = 1 - main_node_groups = table.copy(base_groups) + local main_node_groups = table.copy(base_groups) main_node_groups.deco_block = 1 -- TODO: Stop hardcoding blast resistance