aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stairsplus/conversion.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/stairsplus/conversion.lua b/stairsplus/conversion.lua
index 1c8981b..37f2a25 100644
--- a/stairsplus/conversion.lua
+++ b/stairsplus/conversion.lua
@@ -80,6 +80,7 @@ function stairsplus:register_6dfacedir_conversion(modname, material)
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
local fdir = node.param2 or 0
+ local nfdir
if flip_upside_down and not flip_to_wall then
nfdir = dirs1[fdir + 2]