Fix up piston retraction.

The node property is_sticky_piston was applied to piston_up_normal rather than piston_up_sticky.
This commit is contained in:
Anthony 2012-12-21 20:46:57 -05:00
parent 594d061d6d
commit 6fab716f3e

@ -294,7 +294,6 @@ minetest.register_node("mesecons_pistons:piston_up_normal", {
groups = {cracky=3, mesecon=2}, groups = {cracky=3, mesecon=2},
after_destruct = destruct, after_destruct = destruct,
on_timer = timer, on_timer = timer,
is_sticky_piston = true,
mesecons = {effector={ mesecons = {effector={
action_change = update action_change = update
}}, }},
@ -306,6 +305,7 @@ minetest.register_node("mesecons_pistons:piston_up_sticky", {
groups = {cracky=3, mesecon=2}, groups = {cracky=3, mesecon=2},
after_destruct = destruct, after_destruct = destruct,
on_timer = timer, on_timer = timer,
is_sticky_piston = true,
mesecons = {effector={ mesecons = {effector={
action_change = update action_change = update
}}, }},