From 3269de8f446d78e77efce8c997de791bc1b582fb Mon Sep 17 00:00:00 2001 From: Thomas Rudin Date: Sun, 3 Feb 2019 20:46:24 +0100 Subject: [PATCH] Revert "make sure MV turbines only turn on in response to *flowing* water" This reverts commit 8ebc1de29c2c5105ed4348fd8e93d3787dd106d9. --- technic/machines/MV/hydro_turbine.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technic/machines/MV/hydro_turbine.lua b/technic/machines/MV/hydro_turbine.lua index 19dfebb..0cf9f0e 100644 --- a/technic/machines/MV/hydro_turbine.lua +++ b/technic/machines/MV/hydro_turbine.lua @@ -18,7 +18,7 @@ minetest.register_craft({ local function get_water_flow(pos) local node = minetest.get_node(pos) - if minetest.get_item_group(node.name, "water") == 3 and string.find(node.name, "flowing") then + if minetest.get_item_group(node.name, "water") == 3 then return node.param2 -- returns approx. water flow, if any end return 0