From 68b94cc366d0f4a8eb3e5072e056a33b4cbfad05 Mon Sep 17 00:00:00 2001 From: cheapie Date: Fri, 5 Feb 2021 20:26:21 -0600 Subject: Actually fix it this time --- piston.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piston.lua b/piston.lua index f39bf5d..2b43ca3 100644 --- a/piston.lua +++ b/piston.lua @@ -169,9 +169,9 @@ minetest.register_node("digistuff:piston_ext", { local setchan = meta:get_string("channel") if channel ~= setchan then return end if msg == "retract" then - retract(pos,node,nil,"digilines") + retract(pos,node,0,false,"digilines") elseif msg == "retract_sticky" then - retract(pos,node,16,"digilines") + retract(pos,node,16,false,"digilines") elseif type(msg) == "table" and msg.action == "retract" then local max = 16 if type(msg.max) == "number" then -- cgit v1.2.3