summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2021-02-05 20:26:21 -0600
committercheapie <no-email-for-you@example.com>2021-02-05 20:26:21 -0600
commit68b94cc366d0f4a8eb3e5072e056a33b4cbfad05 (patch)
treeece5dfe19fff67290624fd590244496dea7ba7be
parentb0f714f944a94e613beae01885ba11b7f0a5802b (diff)
downloaddigistuff-68b94cc366d0f4a8eb3e5072e056a33b4cbfad05.tar
digistuff-68b94cc366d0f4a8eb3e5072e056a33b4cbfad05.tar.gz
digistuff-68b94cc366d0f4a8eb3e5072e056a33b4cbfad05.tar.bz2
digistuff-68b94cc366d0f4a8eb3e5072e056a33b4cbfad05.tar.xz
digistuff-68b94cc366d0f4a8eb3e5072e056a33b4cbfad05.zip
Actually fix it this time
-rw-r--r--piston.lua4
1 files 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