forked from minetest-mods/moreblocks
Prevent creating a global
This commit is contained in:
parent
085e9d56bc
commit
81f77ae97e
@ -80,6 +80,7 @@ function stairsplus:register_6dfacedir_conversion(modname, material)
|
|||||||
chance = 1,
|
chance = 1,
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
local fdir = node.param2 or 0
|
local fdir = node.param2 or 0
|
||||||
|
local nfdir
|
||||||
|
|
||||||
if flip_upside_down and not flip_to_wall then
|
if flip_upside_down and not flip_to_wall then
|
||||||
nfdir = dirs1[fdir + 2]
|
nfdir = dirs1[fdir + 2]
|
||||||
|
Loading…
Reference in New Issue
Block a user