diff options
| author | cheapie <no-email-for-you@example.com> | 2021-02-05 20:23:05 -0600 |
|---|---|---|
| committer | cheapie <no-email-for-you@example.com> | 2021-02-05 20:23:05 -0600 |
| commit | b0f714f944a94e613beae01885ba11b7f0a5802b (patch) | |
| tree | 25e20e7eca9e7f336af0324aa74b39d41c91f4e3 | |
| parent | 8e652528262e47d48e2ec81cdc528f743ef2f79a (diff) | |
| download | digistuff-b0f714f944a94e613beae01885ba11b7f0a5802b.tar digistuff-b0f714f944a94e613beae01885ba11b7f0a5802b.tar.gz digistuff-b0f714f944a94e613beae01885ba11b7f0a5802b.tar.bz2 digistuff-b0f714f944a94e613beae01885ba11b7f0a5802b.tar.xz digistuff-b0f714f944a94e613beae01885ba11b7f0a5802b.zip | |
Fix string commands on pistons being silent
| -rw-r--r-- | piston.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -93,7 +93,7 @@ minetest.register_node("digistuff:piston", { local setchan = meta:get_string("channel") if channel ~= setchan then return end if msg == "extend" then - extend(pos,node,16) + extend(pos,node,16,"digilines") elseif type(msg) == "table" and msg.action == "extend" then local max = 16 if type(msg.max) == "number" then @@ -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) + retract(pos,node,nil,"digilines") elseif msg == "retract_sticky" then - retract(pos,node,16) + retract(pos,node,16,"digilines") elseif type(msg) == "table" and msg.action == "retract" then local max = 16 if type(msg.max) == "number" then |
