summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flowing_logic.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/flowing_logic.lua b/flowing_logic.lua
index e4eee8a..dce7bc4 100644
--- a/flowing_logic.lua
+++ b/flowing_logic.lua
@@ -270,7 +270,7 @@ minetest.register_abm({
local sensor = string.match(node.name, "pipeworks:flow_sensor_")
local newnode = nil
- if my_level > 1 then
+ if my_level > 1 and (set1 or set2) then
newnode = sensor.."loaded"
else
newnode = sensor.."empty"