diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-15 02:53:10 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-15 02:53:10 -0500 |
commit | bd80f18cfce1fb69e78f7d5ce63e7264718378e7 (patch) | |
tree | 5eb36d4656efe3de30db472dd7793f9985ba8af8 /autocrafter.lua | |
parent | b43a1036cae2fda49453a2c0a97b9ed2f6d16023 (diff) |
local-ize pretty muchg everything that was previously global except where
stuff needs to be globally-visible. Also, fix a bad drop on valve.
Diffstat (limited to 'autocrafter.lua')
-rw-r--r-- | autocrafter.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autocrafter.lua b/autocrafter.lua index c608896..d47bef3 100644 --- a/autocrafter.lua +++ b/autocrafter.lua @@ -115,10 +115,10 @@ minetest.register_node("pipeworks:autocrafter", { return (inv:is_empty("src") and inv:is_empty("recipe") and inv:is_empty("dst")) end, after_place_node = function(pos) - tube_scanforobjects(pos) + pipeworks.scan_for_tube_objects(pos) end, after_dig_node = function(pos) - tube_scanforobjects(pos) + pipeworks.scan_for_tube_objects(pos) autocrafterCache[minetest.hash_node_position(pos)] = nil end }) |