summaryrefslogtreecommitdiff
path: root/flowing_logic.lua
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2013-12-21 11:11:36 +0100
committerNovatux <nathanael.courant@laposte.net>2013-12-21 11:11:36 +0100
commit10cf11e008ad0da51349b175dee7cc23ea951db4 (patch)
tree344340ff9a54c4ce4dfc684af96fda9486751ab3 /flowing_logic.lua
parent5a2d57b48523b95aad2294f88da3e03cf35b9942 (diff)
downloadpipeworks-10cf11e008ad0da51349b175dee7cc23ea951db4.tar
pipeworks-10cf11e008ad0da51349b175dee7cc23ea951db4.tar.gz
pipeworks-10cf11e008ad0da51349b175dee7cc23ea951db4.tar.bz2
pipeworks-10cf11e008ad0da51349b175dee7cc23ea951db4.tar.xz
pipeworks-10cf11e008ad0da51349b175dee7cc23ea951db4.zip
A few more fixes (spamming the commit log again...)
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")