From f6ef7b005d4ca6d9b26aa5e60909713178184a73 Mon Sep 17 00:00:00 2001 From: Jeija Date: Tue, 18 Dec 2012 16:21:41 +0100 Subject: [PATCH] Same for sticky piston --- mesecons_pistons/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua index 57e944b..44b9095 100644 --- a/mesecons_pistons/init.lua +++ b/mesecons_pistons/init.lua @@ -214,7 +214,7 @@ minetest.register_node("mesecons_pistons:piston_sticky", { local pitch = placer:get_look_pitch() * (180 / math.pi) --placer pitch in degrees if pitch > 45 then --looking upwards minetest.env:add_node(pos, {name="mesecons_pistons:piston_down_sticky"}) - elseif pitch < 45 then --looking downwards + elseif pitch < -45 then --looking downwards minetest.env:add_node(pos, {name="mesecons_pistons:piston_up_sticky"}) end end,