diff options
Diffstat (limited to 'stairsplus/conversion.lua')
-rw-r--r-- | stairsplus/conversion.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/stairsplus/conversion.lua b/stairsplus/conversion.lua index 13966b6..1c8981b 100644 --- a/stairsplus/conversion.lua +++ b/stairsplus/conversion.lua @@ -81,7 +81,7 @@ function stairsplus:register_6dfacedir_conversion(modname, material) action = function(pos, node, active_object_count, active_object_count_wider) local fdir = node.param2 or 0 - if flip_upside_down and not flip_to_wall then + if flip_upside_down and not flip_to_wall then nfdir = dirs1[fdir + 2] elseif flip_to_wall and not flip_upside_down then nfdir = dirs2[fdir + 1] @@ -125,7 +125,7 @@ function stairsplus:register_6dfacedir_conversion(modname, material) local fdir = node.param2 local nfdir = 20 - if flip_upside_down and not flip_to_wall then + if flip_upside_down and not flip_to_wall then nfdir = dirs1[fdir + 1] elseif flip_to_wall and not flip_upside_down then nfdir = dirs2[fdir + 2] @@ -136,4 +136,3 @@ function stairsplus:register_6dfacedir_conversion(modname, material) }) end end - |