summaryrefslogtreecommitdiff
path: root/flowing_logic.lua
diff options
context:
space:
mode:
Diffstat (limited to 'flowing_logic.lua')
-rw-r--r--flowing_logic.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/flowing_logic.lua b/flowing_logic.lua
index 6b5d30f..e0a6236 100644
--- a/flowing_logic.lua
+++ b/flowing_logic.lua
@@ -39,7 +39,7 @@ pipeworks.check_for_inflows = function(pos,node)
local name = minetest.get_node(coords[i]).name
if name and (name == "pipeworks:pump_on" and pipeworks.check_for_liquids(coords[i])) or string.find(name,"_loaded") then
if string.find(name,"_loaded") then
- local source = minetest.get_meta(coords[i]):get_string("source")
+ source = minetest.get_meta(coords[i]):get_string("source")
if source == minetest.pos_to_string(pos) then break end
end
newnode = string.gsub(node.name,"empty","loaded")