diff options
author | number Zero <silverunicorn2011@yandex.ru> | 2017-10-08 19:20:24 +0300 |
---|---|---|
committer | number Zero <silverunicorn2011@yandex.ru> | 2017-10-08 19:20:24 +0300 |
commit | b08e93fc8ba0fffea4c62013d200012783949ae4 (patch) | |
tree | 06aa14f685128b8c757efa817e284b735c08cae9 | |
parent | 928f04fa9c57bda699f7819cae89741c61d89b05 (diff) |
Remove obsolete nodeupdate call
It wasn't necessary, actually.
-rw-r--r-- | mesecons_hydroturbine/init.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mesecons_hydroturbine/init.lua b/mesecons_hydroturbine/init.lua index 53dedac..7175c58 100644 --- a/mesecons_hydroturbine/init.lua +++ b/mesecons_hydroturbine/init.lua @@ -72,7 +72,6 @@ nodenames = {"mesecons_hydroturbine:hydro_turbine_off"}, local waterpos={x=pos.x, y=pos.y+1, z=pos.z} if is_flowing_water(waterpos) then minetest.set_node(pos, {name="mesecons_hydroturbine:hydro_turbine_on"}) - nodeupdate(pos) mesecon.receptor_on(pos) end end, @@ -86,7 +85,6 @@ nodenames = {"mesecons_hydroturbine:hydro_turbine_on"}, local waterpos={x=pos.x, y=pos.y+1, z=pos.z} if not is_flowing_water(waterpos) then minetest.set_node(pos, {name="mesecons_hydroturbine:hydro_turbine_off"}) - nodeupdate(pos) mesecon.receptor_off(pos) end end, |