From a218a7c982a2fba7caef9ddbcf3c15f1823798ef Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 31 Jul 2017 02:14:11 +0200 Subject: [PATCH] Fix pressure plates constantly firing signals --- mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua b/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua index e323fc9d4..86b15433a 100644 --- a/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua @@ -26,7 +26,7 @@ pp_on_timer = function (pos, elapsed) if not mesecon:connected_to_receptor(two_below) then mesecon:turnoff(two_below) end - else + elseif node.name == ppspec.offstate then for k, obj in pairs(objs) do local objpos = obj:getpos() if objpos.y > pos.y-1 and objpos.y < pos.y then