fix incorrect variable name

This commit is contained in:
Vanessa Ezekowitz 2013-12-15 05:26:39 -05:00
parent eabced6976
commit 2481c06bf0
2 changed files with 2 additions and 2 deletions

View File

@ -425,7 +425,7 @@ minetest.register_node("pipeworks:entry_panel_empty", {
minetest.add_node(pos1, {name = "pipeworks:entry_panel_empty", param2 = fdir })
pipeworks.scan_for_pipe_objects(pos1)
if not pipeworks_expect_infinite_stacks then
if not pipeworks.expect_infinite_stacks then
itemstack:take_item()
end

View File

@ -40,7 +40,7 @@ end
pipeworks.expect_infinite_stacks = true
if minetest.get_modpath("unified_inventory") or not minetest.setting_getbool("creative_mode") then
pipeworks_expect_infinite_stacks = false
pipeworks.expect_infinite_stacks = false
end
pipeworks.meseadjlist={{x=0,y=0,z=1},{x=0,y=0,z=-1},{x=0,y=1,z=0},{x=0,y=-1,z=0},{x=1,y=0,z=0},{x=-1,y=0,z=0}}