summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-02-03 03:57:35 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-06-18 12:42:20 -0400
commit11e83586a56cd9a22a8d0a5cd9ea5e27036c39b8 (patch)
tree8a4c336e8d52ff0a50806513ac265fe7cbb9807b
parent7ed830f0dd3b09e6e45a1e690b5627d21efd2d08 (diff)
tweak max pressure that pump will add to pipes
-rw-r--r--flowing_logic.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/flowing_logic.lua b/flowing_logic.lua
index eea264d..2d5af3e 100644
--- a/flowing_logic.lua
+++ b/flowing_logic.lua
@@ -102,7 +102,7 @@ minetest.register_abm({
local water_nodes = minetest.find_nodes_in_area(minp, maxp,
{"default:water_source", "default:water_flowing"})
- if (node_level_above < 4 ) and #water_nodes > 1 then
+ if (node_level_above < 2 ) and #water_nodes > 1 then
meta:set_float("liquid_level", node_level_above + 4) -- add water to the pipe
end
else