1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-07-04 01:00:35 +02:00

tweak max pressure that pump will add to pipes

This commit is contained in:
Vanessa Ezekowitz
2015-02-03 03:57:35 -05:00
parent 7ed830f0dd
commit 11e83586a5

View File

@ -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