mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-25 18:00:19 +01:00
Remove obsolete nodeupdate call
It wasn't necessary, actually.
This commit is contained in:
parent
928f04fa9c
commit
b08e93fc8b
@ -72,7 +72,6 @@ nodenames = {"mesecons_hydroturbine:hydro_turbine_off"},
|
|||||||
local waterpos={x=pos.x, y=pos.y+1, z=pos.z}
|
local waterpos={x=pos.x, y=pos.y+1, z=pos.z}
|
||||||
if is_flowing_water(waterpos) then
|
if is_flowing_water(waterpos) then
|
||||||
minetest.set_node(pos, {name="mesecons_hydroturbine:hydro_turbine_on"})
|
minetest.set_node(pos, {name="mesecons_hydroturbine:hydro_turbine_on"})
|
||||||
nodeupdate(pos)
|
|
||||||
mesecon.receptor_on(pos)
|
mesecon.receptor_on(pos)
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
@ -86,7 +85,6 @@ nodenames = {"mesecons_hydroturbine:hydro_turbine_on"},
|
|||||||
local waterpos={x=pos.x, y=pos.y+1, z=pos.z}
|
local waterpos={x=pos.x, y=pos.y+1, z=pos.z}
|
||||||
if not is_flowing_water(waterpos) then
|
if not is_flowing_water(waterpos) then
|
||||||
minetest.set_node(pos, {name="mesecons_hydroturbine:hydro_turbine_off"})
|
minetest.set_node(pos, {name="mesecons_hydroturbine:hydro_turbine_off"})
|
||||||
nodeupdate(pos)
|
|
||||||
mesecon.receptor_off(pos)
|
mesecon.receptor_off(pos)
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user