diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-15 05:26:39 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-15 05:26:39 -0500 |
commit | 2481c06bf0214c3a0723e31c05166ac9983eef77 (patch) | |
tree | 5eff37cc7afb7624040ece0b7e64506516e44556 | |
parent | eabced6976d18ff887a4ddd1ef0360e7217c0bb2 (diff) | |
download | pipeworks-2481c06bf0214c3a0723e31c05166ac9983eef77.tar pipeworks-2481c06bf0214c3a0723e31c05166ac9983eef77.tar.gz pipeworks-2481c06bf0214c3a0723e31c05166ac9983eef77.tar.bz2 pipeworks-2481c06bf0214c3a0723e31c05166ac9983eef77.tar.xz pipeworks-2481c06bf0214c3a0723e31c05166ac9983eef77.zip |
fix incorrect variable name
-rw-r--r-- | devices.lua | 2 | ||||
-rw-r--r-- | init.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/devices.lua b/devices.lua index ffe56a9..46ed873 100644 --- a/devices.lua +++ b/devices.lua @@ -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 @@ -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}} |