summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony <azhang9@gmail.com>2012-12-21 20:46:57 -0500
committerAnthony <azhang9@gmail.com>2012-12-21 20:46:57 -0500
commit6fab716f3e05140981259c084bcf8e075721d938 (patch)
treef9c4d7331f8e28565fe51a6d9f616181a1cd5812
parent594d061d6d33e59009914d8873f5c1584f1383f0 (diff)
downloadmesecons-6fab716f3e05140981259c084bcf8e075721d938.tar
mesecons-6fab716f3e05140981259c084bcf8e075721d938.tar.gz
mesecons-6fab716f3e05140981259c084bcf8e075721d938.tar.bz2
mesecons-6fab716f3e05140981259c084bcf8e075721d938.tar.xz
mesecons-6fab716f3e05140981259c084bcf8e075721d938.zip
Fix up piston retraction.
The node property is_sticky_piston was applied to piston_up_normal rather than piston_up_sticky.
-rw-r--r--mesecons_pistons/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua
index fb7375b..47956cc 100644
--- a/mesecons_pistons/init.lua
+++ b/mesecons_pistons/init.lua
@@ -294,7 +294,6 @@ minetest.register_node("mesecons_pistons:piston_up_normal", {
groups = {cracky=3, mesecon=2},
after_destruct = destruct,
on_timer = timer,
- is_sticky_piston = true,
mesecons = {effector={
action_change = update
}},
@@ -306,6 +305,7 @@ minetest.register_node("mesecons_pistons:piston_up_sticky", {
groups = {cracky=3, mesecon=2},
after_destruct = destruct,
on_timer = timer,
+ is_sticky_piston = true,
mesecons = {effector={
action_change = update
}},