diff options
author | Jeija <norrepli@gmail.com> | 2012-12-18 16:20:24 +0100 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-12-18 16:20:24 +0100 |
commit | 5cdf23fb00ae257cd1d77b186cd40e889530d4f0 (patch) | |
tree | c40be66ff299a9b251242027d160eb3143355f5c | |
parent | e9e1006656e8dd57ec0ddc3c4bb59215c2ab199f (diff) | |
download | mesecons-5cdf23fb00ae257cd1d77b186cd40e889530d4f0.tar mesecons-5cdf23fb00ae257cd1d77b186cd40e889530d4f0.tar.gz mesecons-5cdf23fb00ae257cd1d77b186cd40e889530d4f0.tar.bz2 mesecons-5cdf23fb00ae257cd1d77b186cd40e889530d4f0.tar.xz mesecons-5cdf23fb00ae257cd1d77b186cd40e889530d4f0.zip |
Fix bug reported here: http://bit.ly/VOF35X
-rw-r--r-- | mesecons_pistons/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua index 11389b3..57e944b 100644 --- a/mesecons_pistons/init.lua +++ b/mesecons_pistons/init.lua @@ -191,7 +191,7 @@ minetest.register_node("mesecons_pistons:piston_normal", { 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_normal"}) - elseif pitch < 45 then --looking downwards + elseif pitch < -45 then --looking downwards minetest.env:add_node(pos, {name="mesecons_pistons:piston_up_normal"}) end end, @@ -443,4 +443,4 @@ minetest.register_craft({ {"mesecons_materials:glue"}, {"mesecons_pistons:piston_normal"}, } -})
\ No newline at end of file +}) |