summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-12-12 03:14:57 +0100
committerJeija <norrepli@gmail.com>2012-12-12 03:14:57 +0100
commit594d061d6d33e59009914d8873f5c1584f1383f0 (patch)
treeede7aa53223a03c49230155cf882cabe4c594131
parent23bebfc054008d2b6796e3f10d3bc67bee8b31ed (diff)
downloadmesecons-594d061d6d33e59009914d8873f5c1584f1383f0.tar
mesecons-594d061d6d33e59009914d8873f5c1584f1383f0.tar.gz
mesecons-594d061d6d33e59009914d8873f5c1584f1383f0.tar.bz2
mesecons-594d061d6d33e59009914d8873f5c1584f1383f0.tar.xz
mesecons-594d061d6d33e59009914d8873f5c1584f1383f0.zip
Fix sticky piston retraction not working
-rw-r--r--mesecons_pistons/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua
index e5228d4..fb7375b 100644
--- a/mesecons_pistons/init.lua
+++ b/mesecons_pistons/init.lua
@@ -216,6 +216,7 @@ minetest.register_node("mesecons_pistons:piston_sticky", {
paramtype2 = "facedir",
after_destruct = destruct,
on_timer = timer,
+ is_sticky_piston = true,
after_place_node = function(pos, placer)
if not placer then --not placed by player
return