Version MFF.

This commit is contained in:
sys4-fr
2018-09-08 13:07:27 +02:00
parent f92a938d75
commit 17a4963cb6
97 changed files with 281 additions and 278 deletions

4
stairsplus/conversion.lua Normal file → Executable file
View File

@ -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]