From 9d4cebdab0ed796893c32763526fedfaefe0bb45 Mon Sep 17 00:00:00 2001 From: teknomunk Date: Mon, 2 Dec 2024 06:54:36 -0600 Subject: [PATCH] Correct node data update condition --- mods/ITEMS/REDSTONE/vl_redstone/wire.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/REDSTONE/vl_redstone/wire.lua b/mods/ITEMS/REDSTONE/vl_redstone/wire.lua index 5b699f4f4..1a5c7f223 100644 --- a/mods/ITEMS/REDSTONE/vl_redstone/wire.lua +++ b/mods/ITEMS/REDSTONE/vl_redstone/wire.lua @@ -193,7 +193,7 @@ local function update_redstone_wire(orig, update_neighbor) end local node = core.get_node(orig) local power = math.floor(node.param2 / 4) - if node.name ~= connections[1] or node.param2 ~= connections[2] + power * 16 then + if node.name ~= connections[1] or node.param2 ~= connections[2] + power * 4 then node.name = connections[1] node.param2 = connections[2] + power * 4 core.set_node(orig, node)